!8917 添加功能

Merge pull request !8917 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-02-13 04:05:47 +00:00
committed by Gitee
@@ -12,7 +12,7 @@ class YuthonMedicalManage(models.Model):
start_date = fields.Date(string='开始日期')
year = fields.Char(string="年份")
current_year_remaining = fields.Float(string="本年剩余", compute="_compute_current_year_remaining")
entry_date = fields.Date(related='employee_id.entry_date', string="入职日期")
entry_date = fields.Date(related='employee_id.entry_date', string="入职日期", store=True)
remainder_the_year = fields.Float(string="本年剩余")
last_year_quota = fields.Float(string="去年额度")
last_year_used = fields.Float(string="去年使用", compute="_compute_last_year_used")