Fix
This commit is contained in:
parent
645cd47622
commit
b1285c1ea3
|
@ -34,7 +34,7 @@ class Employee(metaclass=PoolMeta):
|
|||
@classmethod
|
||||
def create_mandatory_wages(cls, employees_ids):
|
||||
MandatoryWage = Pool().get('staff.payroll.mandatory_wage')
|
||||
employees = Employee.browse(employees_ids)
|
||||
employees = cls.browse(employees_ids)
|
||||
values = []
|
||||
for employee in employees:
|
||||
if employee.category and employee.category.wages_default:
|
||||
|
|
Loading…
Reference in New Issue