mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] hr_payroll_attendance: tests and migration fixes
This commit is contained in:
@@ -13,4 +13,4 @@ class HrContract(models.Model):
|
||||
for contract in self:
|
||||
if contract.paid_hourly_attendance:
|
||||
# only allow switch, not automatic switch 'back'
|
||||
self.wage_type = 'hourly'
|
||||
contract.wage_type = 'hourly'
|
||||
|
||||
Reference in New Issue
Block a user