Add multi-company support hr_holidays_usability
Add modules hr_holidays_lunch_voucher and hr_holidays_lunch_voucher_natixis
This commit is contained in:
@@ -56,6 +56,7 @@ class HrHolidaysPost(models.TransientModel):
|
||||
('state', '=', 'validate'),
|
||||
('posted_date', '=', False),
|
||||
('vacation_date_to', '<=', self.before_date),
|
||||
('company_id', '=', self.env.user.company_id.id),
|
||||
])
|
||||
self.write({
|
||||
'state': 'done',
|
||||
|
||||
Reference in New Issue
Block a user