添加功能

This commit is contained in:
李鹏宇
2026-04-20 18:36:13 +08:00
parent 240cf68086
commit 694384e8b1
8 changed files with 13 additions and 13 deletions
@@ -9,7 +9,7 @@ class YuthonMedicalManage(models.Model):
_description = '体检费管理'
employee_id = fields.Many2one('hr.employee', string="员工姓名")
employee_number = fields.Char( string='序号', related='employee_id.user_number', store=True, readonly=True)
employee_number = fields.Char( string='序号', related='employee_id.number', store=True, readonly=True)
start_date = fields.Date(string='开始日期')
year = fields.Char(string="年份")
current_year_remaining = fields.Float(string="本年剩余", compute="_compute_current_year_remaining")