From 8a1a6fa9cb7ed970da4c570543da568a2e6304c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 1 Sep 2025 16:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/inherit_hr_contract_views.xml | 1 + .../models/yuthon_vacation_reports.py | 2 +- .../views/overtime_approval.xml | 51 ++++++++++++------- yuthon_property_approval/__manifest__.py | 1 + .../models/property_lease_contract.py | 11 ++++ .../security/ir.model.access.csv | 1 + .../views/property_lease_contract.xml | 3 ++ yuthon_property_approval/wizard/__init__.py | 3 +- .../wizard/contract_signature_wizard.py | 22 ++++++++ .../contract_signature_wizard_viwes.xml | 20 ++++++++ yuthon_stock/models/inherit_stock_picking.py | 1 + yuthon_stock/views/inherit_stock_picking.xml | 24 +++++++-- 12 files changed, 117 insertions(+), 23 deletions(-) create mode 100644 yuthon_property_approval/wizard/contract_signature_wizard.py create mode 100644 yuthon_property_approval/wizard/contract_signature_wizard_viwes.xml diff --git a/yuthon_contract/views/inherit_hr_contract_views.xml b/yuthon_contract/views/inherit_hr_contract_views.xml index 1dd0f4515..eb93aff30 100644 --- a/yuthon_contract/views/inherit_hr_contract_views.xml +++ b/yuthon_contract/views/inherit_hr_contract_views.xml @@ -55,6 +55,7 @@ false + diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index 35b045e09..a28577045 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -33,7 +33,7 @@ class YuthonVacationReports(models.Model): compensatory_leave = fields.Integer(string="调休", compute='_compute_other_leave', store=True, group_operator=None) leave_of_absence = fields.Float(string="事假", digits=(16, 3), compute='_compute_other_leave', store=True, group_operator=None) - statutory_leave = fields.Integer(string="加班时(法定假)", compute='_compute_other_leave', store=True, group_operator=None) + statutory_leave = fields.Integer(string="加班时(法定)", compute='_compute_other_leave', store=True, group_operator=None) cop_leave = fields.Float(string='补休', digits=(16, 3), compute='_compute_other_leave', store=True, group_operator=None) duty_off_leave = fields.Integer(string='值班调休', compute='_compute_other_leave', store=True, group_operator=None) diff --git a/yuthon_hr_attendance/views/overtime_approval.xml b/yuthon_hr_attendance/views/overtime_approval.xml index cc183bbf8..48bb709fd 100644 --- a/yuthon_hr_attendance/views/overtime_approval.xml +++ b/yuthon_hr_attendance/views/overtime_approval.xml @@ -50,35 +50,50 @@ - - - - - - - + + + + + + + + + + - + - - -