添加功能

This commit is contained in:
zhou
2025-04-01 14:39:47 +08:00
parent 7ee7245d31
commit 989872938d
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"/>