diff --git a/yuthon_holiday/models/yuthon_vacation_reports.py b/yuthon_holiday/models/yuthon_vacation_reports.py index 7589c8dbd..d88d76c4e 100644 --- a/yuthon_holiday/models/yuthon_vacation_reports.py +++ b/yuthon_holiday/models/yuthon_vacation_reports.py @@ -11,6 +11,7 @@ class YuthonVacationReports(models.Model): employee_id = fields.Many2one('hr.employee', string='员工') leave = fields.Float(string='年假') working_overtime = fields.Float(string='加班时') + meal_fee = fields.Integer(string="误餐费") def button_fixes_approval(self): form_id = self.env.ref('yuthon_holiday.view_yuthon_fixes_approval_form').id diff --git a/yuthon_holiday/views/yuthon_vacation_reports_views.xml b/yuthon_holiday/views/yuthon_vacation_reports_views.xml index 609c9be6c..ad0b1e024 100644 --- a/yuthon_holiday/views/yuthon_vacation_reports_views.xml +++ b/yuthon_holiday/views/yuthon_vacation_reports_views.xml @@ -8,6 +8,7 @@ +