This commit is contained in:
Oscar 2021-12-28 17:36:35 -05:00
parent 645cd47622
commit b1285c1ea3
1 changed files with 1 additions and 1 deletions

View File

@ -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: