From fe1546bc8b39fc033402f3107e86289b6d0a5694 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, 19 Jan 2026 11:34:48 +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
---
soong_workflow/models/soong_workflow_mixin.py | 2 +-
yuthon_hr_attendance/__manifest__.py | 1 -
.../views/yuthon_meal_case_view.xml | 19 -------------------
.../views/yuthon_vacation_reports_views.xml | 2 +-
4 files changed, 2 insertions(+), 22 deletions(-)
delete mode 100644 yuthon_hr_attendance/views/yuthon_meal_case_view.xml
diff --git a/soong_workflow/models/soong_workflow_mixin.py b/soong_workflow/models/soong_workflow_mixin.py
index 92cedca45..7652909da 100644
--- a/soong_workflow/models/soong_workflow_mixin.py
+++ b/soong_workflow/models/soong_workflow_mixin.py
@@ -894,7 +894,7 @@ class SoongWorkflowMixin(models.AbstractModel):
if button.has_icon:
btn_exec_action_el.set("icon", button.icon)
# 接下来是隐藏的配置
- invisible = "not id or state != '{0}' ".format(str(node.node_name))
+ invisible = "state != '{0}' ".format(str(node.node_name))
if button.review_type == 'user_role':
# 构建角色条件
role_domain = []
diff --git a/yuthon_hr_attendance/__manifest__.py b/yuthon_hr_attendance/__manifest__.py
index 926c78072..f2b41a42c 100644
--- a/yuthon_hr_attendance/__manifest__.py
+++ b/yuthon_hr_attendance/__manifest__.py
@@ -26,7 +26,6 @@
'report/go_approval_templates.xml',
'views/hr_attendance_views.xml',
'views/resource_calendar_leaves_views.xml',
- 'views/yuthon_meal_case_view.xml',
'views/inherit_hr_employee.xml',
'views/inherit_planning_role_views.xml',
'views/inherit_planning_slot_views.xml',
diff --git a/yuthon_hr_attendance/views/yuthon_meal_case_view.xml b/yuthon_hr_attendance/views/yuthon_meal_case_view.xml
deleted file mode 100644
index cc70d110f..000000000
--- a/yuthon_hr_attendance/views/yuthon_meal_case_view.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- yuthon.meal.case.tree
- yuthon.meal.case
-
-
-
-
-
-
-
-
- 误餐情况
- yuthon.meal.case
- tree
-
-
-
diff --git a/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml b/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
index 6da66cef1..b7afc8b20 100644
--- a/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
+++ b/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
@@ -558,7 +558,7 @@
yuthon.vacation.reports
tree
[('meal_fee', '!=', 0)]
- {'search_default_group_by_employee_id': 1, 'search_default_group_by_vacation_month': True}
+ {'search_default_group_by_vacation_month': True}