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"/> -