Add multi-company support hr_holidays_usability
Add modules hr_holidays_lunch_voucher and hr_holidays_lunch_voucher_natixis
This commit is contained in:
@@ -31,7 +31,9 @@ class HrHolidaysMassAllocation(models.TransientModel):
|
||||
@api.model
|
||||
def _default_employees(self):
|
||||
return self.env['hr.employee'].search([
|
||||
('holiday_exclude_mass_allocation', '=', False)])
|
||||
('holiday_exclude_mass_allocation', '=', False),
|
||||
('company_id', '=', self.env.user.company_id.id),
|
||||
])
|
||||
|
||||
@api.model
|
||||
def _get_default_holiday_status(self):
|
||||
|
||||
Reference in New Issue
Block a user