!2243 添加功能

Merge pull request !2243 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-04-01 06:41:05 +00:00
committed by Gitee
2 changed files with 3 additions and 0 deletions
@@ -156,6 +156,8 @@ class YuthonHrEmployee(models.Model):
rent_deduction = fields.Float(string='扣除金额')
meal_number = fields.Integer(string="误餐费次数")
meal_supplement = fields.Float(string="餐补")
pinyin_name = fields.Char(string="拼音名称", compute='_compute_pinyin', index=True, store=True)
pinyin_min = fields.Char(string='拼音缩写', compute='_compute_pinyin', index=True, store=True)
@@ -183,6 +183,7 @@
<field name="replacement_card_count"/>
<field name="duty_replacement_card"/>
<field name="meal_number"/>
<field name="meal_supplement"/>
</group>
<group name="holiday" string="假期">
<field name="user_year_holiday_hours"/>