From 7e782412fb21a08be86732f87b36f4fb283d7bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Thu, 12 Jun 2025 22:40:15 +0800 Subject: [PATCH] 1 --- .../static/src/css/gantt_style.css | 2 ++ .../views/inherit_yuthon_property_views.xml | 2 +- .../views/property_menu_all.xml | 26 +++++++++---------- .../models/yuthon_payroll_project.py | 10 +++---- yuthon_salary/wizard/salary_compute_wizard.py | 2 +- 5 files changed, 20 insertions(+), 22 deletions(-) diff --git a/yuthon_hr_attendance/static/src/css/gantt_style.css b/yuthon_hr_attendance/static/src/css/gantt_style.css index bd88685cf..63da0c59c 100644 --- a/yuthon_hr_attendance/static/src/css/gantt_style.css +++ b/yuthon_hr_attendance/static/src/css/gantt_style.css @@ -17,5 +17,7 @@ .o_list_renderer .o_list_table > thead > tr > th{ max-width: max-content !important; + font-weight: bold !important; + background-color: lightblue !important; } diff --git a/yuthon_property_approval/views/inherit_yuthon_property_views.xml b/yuthon_property_approval/views/inherit_yuthon_property_views.xml index bd816cb61..092109e42 100644 --- a/yuthon_property_approval/views/inherit_yuthon_property_views.xml +++ b/yuthon_property_approval/views/inherit_yuthon_property_views.xml @@ -227,7 +227,7 @@ [('is_message', '=', False), ('reading_state', '=', 'wait')] - 水费记录管理 + 水表记录管理 property.water.reading tree,form,search [('is_message', '=', True)] diff --git a/yuthon_property_approval/views/property_menu_all.xml b/yuthon_property_approval/views/property_menu_all.xml index 98266816d..c20bc8a92 100644 --- a/yuthon_property_approval/views/property_menu_all.xml +++ b/yuthon_property_approval/views/property_menu_all.xml @@ -269,28 +269,28 @@ parent="yuthon_property.yuthon_property_fee_management" action="property_deposit_list_action"/> - - - + + + =', start_date) ]) if existing_payslip: - raise UserError( f"员工 {employee.name} 在 {start_date} 到 {end_date} 日期范围内已有工资单记录,无法创建新的工资单。") + raise UserError(f"员工 {employee.name} 在 {start_date} 到 {end_date} 日期范围内已有工资单记录,无法创建新的工资单。") payslip = self.env['hr.payslip'].create({ 'is_bold':is_bold, 'name': employee.name,