diff --git a/yuthon_salary/models/inherit_hr_payroll_structure.py b/yuthon_salary/models/inherit_hr_payroll_structure.py index 1cbafd11b..79c05ff56 100644 --- a/yuthon_salary/models/inherit_hr_payroll_structure.py +++ b/yuthon_salary/models/inherit_hr_payroll_structure.py @@ -174,4 +174,4 @@ class HrPayrollStructure(models.Model): self._context.get('active_ids', self._context.get('active_id'))) for payroll in payroll_ids: for rule in payroll.rule_ids: - rule.sudo().unlink() \ No newline at end of file + rule.sudo().unlink() diff --git a/yuthon_salary/models/yuthon_payroll_project.py b/yuthon_salary/models/yuthon_payroll_project.py index 04c0d1fbf..23a3b62be 100644 --- a/yuthon_salary/models/yuthon_payroll_project.py +++ b/yuthon_salary/models/yuthon_payroll_project.py @@ -209,5 +209,3 @@ class YuthonPayrollInsurances (models.Model): sal.write({'rule_ids': rule_list}) else: sal.rule_ids.search([('name', '=', ins.name)]).write({'amount_python_compute': formula_salary}) - - diff --git a/yuthon_work_brand/views/hr_menus.xml b/yuthon_work_brand/views/hr_menus.xml index fa7cafd21..3e3fe6e68 100644 --- a/yuthon_work_brand/views/hr_menus.xml +++ b/yuthon_work_brand/views/hr_menus.xml @@ -144,6 +144,16 @@ sequence="40" action="yuthon_hr_attendance.hr_attendance_year_action"/> + + - -