It is actually not a bug, but a designed feature, applying a sick leave actually should have hospitalization leave deducted too (reason illustrated as below).

  1. However, if you want to unhook the link between them, you can do that - just disable the existing hospitalization leave and create a new leave type "hospitalization-A" yourself.

2. According to the Malaysian law, paid sick leave = Non-hospitalization sick leaves + Hospitalization sick leave = 60 days per year.

3. Based on the above formula, non-hospitalization sick leave plus hospitalization sick leave, all in all, shall not exceed 60 days per year. Hence, applying a sick leave is actually reducing the hospitalization leave.

4. Please see the first proviso of Section 60F(1) of the Employment Act 1955 as per below screenshot:-

Hope it helps :)

Complete guide: Leave module
Have doubts on setting up Leave module? Check this out!