From 7eab51494cc6f9fcca3d4743b3e716561944881c Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 3 Apr 2025 19:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_salary/models/inherit_hr_payroll_structure.py | 1 + 1 file changed, 1 insertion(+) 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)