-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Information about bug
Pre-requisites
-
Setup multi-company environment
- Example: Demo Company and Test Company
-
Create Leave Period for each company.
Steps to Reproduce
-
In Leave Control Panel By default:
-
Default Company and its latest Leave Period will be auto-selected.
-
Employees of that company will be rendered in the table.
-
Example:
- Default Company: Demo Company
- Leave Period: HR-LPR-2026-00001
-
-
Now select the Leave Period of another company.
-
Example:
- Company: Test Company
- Leave Period: HR-LPR-2026-00004
-
Bug
-
The employee table still shows employees of the default company (Demo Company).
-
Employees belonging to the selected company (Test Company) are not rendered.
-
If employees are selected and Leave Policy is assigned:
- The Leave Policy Assignment uses the Leave Period of the default company, not the selected one.
Screen Recording
Leave.Control.Panel.Bug.1.mp4
Expected Behavior
- As Company is a mandatory field in Leave Period, and Leave Period is the default for Dates Based On.
- Move the Company field from Quick Filters to the main section and make it mandatory when Dates Based On = Leave Period.
- Set the default company on setup and apply a company filter to the Leave Period field.
- In
set_leave_details, usefrm.doc.companyinstead of the default company.
Module
HR
Version
HRMS: 17.0.0-dev
This bug is also there in v15
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working