1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_sk_hr_payroll/models/hr_payslip.py
2024-12-10 09:04:09 +07:00

20 lines
652 B
Python

# -*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class HrEmployee(models.Model):
_inherit = 'hr.payslip'
def _get_data_files_to_update(self):
# Note: file order should be maintained
return super()._get_data_files_to_update() + [(
'l10n_sk_hr_payroll', [
'data/hr_salary_rule_category_data.xml',
'data/hr_payroll_structure_type_data.xml',
'data/hr_payroll_structure_data.xml',
'data/hr_rule_parameter_data.xml',
'data/hr_salary_rule_data.xml',
])]