添加功能

This commit is contained in:
zhou
2025-03-20 18:27:15 +08:00
parent b13a2af982
commit e72d62689b
2 changed files with 2 additions and 0 deletions
@@ -83,6 +83,7 @@ class YuthonHrEmployee(models.Model):
interrupt_work_month = fields.Integer(string="中断工作月数")
compute_char = fields.Char(string="工龄", compute='_compute_social_insurance_info')
compute_month = fields.Integer(string="工龄(月)")
last_year_salary = fields.Float(string="去年平均薪资")
social_insurance_date = fields.Date(string="缴纳社保日期")
social_insurance_time = fields.Char(string="社保时长", compute='_compute_social_insurance_info', store=True)
@@ -22,6 +22,7 @@
<field name="user_state"/>
<field name="yuthon_company"/>
<field name="salary_group_id"/>
<field name="last_year_salary"/>
</xpath>
<xpath expr="//page[@name='personal_information']" position="replace">
<page name="personal_information" string="个人隐私信息">