This commit is contained in:
李鹏宇
2026-06-05 18:26:02 +08:00
parent 5f773c1f64
commit 5c90566414
@@ -64,7 +64,7 @@ class YuthonHrEmployee(models.Model):
hukou_documents_id = fields.Many2one('ir.attachment', string="户口本")
marriage_documents_id = fields.Many2one('ir.attachment', string="结婚证")
nation = fields.Selection(nation_list, string="民族")
old = fields.Integer(string="年龄", compute='_compute_info')
old = fields.Integer(string="年龄", compute='_compute_info', store=True)
birthday = fields.Date(string="出生年月", compute='_compute_info', tracking=False)
birthday_month = fields.Integer(string="生日月份", compute='_compute_info')
user_type = fields.Char(string="人员类别")