From 31d41bb629eea4ed46cc37601e645a0b74814b66 Mon Sep 17 00:00:00 2001
From: zhou <123@>
Date: Thu, 20 Feb 2025 16:25:43 +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
---
yuthon_hr_attendance/models/card_approval.py | 2 --
yuthon_hr_employee/views/inherit_hr_applicant_views.xml | 8 +-------
.../views/yuthon_recruitment_approval_views.xml | 1 -
yuthon_work_brand/views/hr_menus.xml | 5 -----
4 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/yuthon_hr_attendance/models/card_approval.py b/yuthon_hr_attendance/models/card_approval.py
index 8f5ee693f..86cccf26f 100644
--- a/yuthon_hr_attendance/models/card_approval.py
+++ b/yuthon_hr_attendance/models/card_approval.py
@@ -53,8 +53,6 @@ class CardApprovals(models.Model):
else:
rep.shift_name = rep.attendance_id.shift_name
-
-
@api.depends('users_id', 'attendance_id')
def _compute_name(self):
for record in self:
diff --git a/yuthon_hr_employee/views/inherit_hr_applicant_views.xml b/yuthon_hr_employee/views/inherit_hr_applicant_views.xml
index fd43f7c2d..b7efbef2f 100644
--- a/yuthon_hr_employee/views/inherit_hr_applicant_views.xml
+++ b/yuthon_hr_employee/views/inherit_hr_applicant_views.xml
@@ -100,7 +100,7 @@
hr.applicant
kanban,tree,form,pivot,graph,calendar,activity
{'search_default_stage':1}
- [('stage_id.name','!=',['人才库','待入职'])]
+ [('stage_id.name','!=','人才库')]
人才库
@@ -108,10 +108,4 @@
kanban,tree,form,pivot,graph,calendar,activity
[('stage_id.name', '=' , '人才库')]
-
- 待入职
- hr.applicant
- kanban,tree,form,pivot,graph,calendar,activity
- [('stage_id.name', '=', '待入职')]
-
\ No newline at end of file
diff --git a/yuthon_hr_employee_approval/views/yuthon_recruitment_approval_views.xml b/yuthon_hr_employee_approval/views/yuthon_recruitment_approval_views.xml
index 166a7488b..80d148767 100644
--- a/yuthon_hr_employee_approval/views/yuthon_recruitment_approval_views.xml
+++ b/yuthon_hr_employee_approval/views/yuthon_recruitment_approval_views.xml
@@ -27,7 +27,6 @@
-
diff --git a/yuthon_work_brand/views/hr_menus.xml b/yuthon_work_brand/views/hr_menus.xml
index e1506134b..1c58ba0f2 100644
--- a/yuthon_work_brand/views/hr_menus.xml
+++ b/yuthon_work_brand/views/hr_menus.xml
@@ -26,11 +26,6 @@
parent="hr_recruitment_all_menu_board"
action="yuthon_hr_employee.view_crm_case_categ0_act_job1"
sequence="1"/>
-