diff --git a/yuthon_salary/models/inherit_hr_payroll_structure.py b/yuthon_salary/models/inherit_hr_payroll_structure.py index 7deb00184..6ecc23fe3 100644 --- a/yuthon_salary/models/inherit_hr_payroll_structure.py +++ b/yuthon_salary/models/inherit_hr_payroll_structure.py @@ -8,6 +8,7 @@ class HrPayrollStructure(models.Model): _order = 'sequence asc' company_id = fields.Many2one('res.company', string="公司", default=lambda self: self.env.company) + yuthon_company = fields.Selection([('thtz', 'thtz')], default="thtz") type_id = fields.Many2one('hr.payroll.structure.type', string="职级类型") level_id = fields.Many2one('yuthon.payroll.type.setting', string="级别") lv_name = fields.Char(related='level_id.name', string='级别名称', store=True)