From 1718089264c6b910c68c0e307c7d5cc23cbb96fb Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Sat, 22 Feb 2025 17:22:41 +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 --- .../security/issue_security_group.xml | 72 +- yuthon_issue/views/issue_library_views.xml | 1611 ----------------- yuthon_issue/views/menus.xml | 197 +- yuthon_salary/__manifest__.py | 1 + .../security/yuthon_salary_group.xml | 58 + ...nherit_hr_payroll_structure_type_views.xml | 17 +- .../inherit_hr_payroll_structure_views.xml | 21 - .../views/yuthon_payroll_project_views.xml | 44 +- .../yuthon_payroll_type_setting_views.xml | 13 - yuthon_work_brand/views/hr_menus.xml | 210 +-- 10 files changed, 175 insertions(+), 2069 deletions(-) create mode 100644 yuthon_salary/security/yuthon_salary_group.xml diff --git a/yuthon_issue/security/issue_security_group.xml b/yuthon_issue/security/issue_security_group.xml index 8588f4080..2f831fce0 100644 --- a/yuthon_issue/security/issue_security_group.xml +++ b/yuthon_issue/security/issue_security_group.xml @@ -3,72 +3,20 @@ 议题权限 - - - - 党支委议题 + + 议题用户 - - - - 班子会议题 - - - - - - 董事会议题 - - - - - - 物管党支委议题 - - - - - - 物管班子会议题 - - - - - - 物管议题管理员 - - - - - - - - 粮储党支委议题 - - - - - - 粮储班子会议题 - - - - - - 粮储议题管理员 - - - - - - - + 议题管理员 - + + + yuthon_issue_company_rule_admin + + [('yuthon_company', '=', user.employee_id.yuthon_company)] + + \ No newline at end of file diff --git a/yuthon_issue/views/issue_library_views.xml b/yuthon_issue/views/issue_library_views.xml index ce1166961..2efb39289 100644 --- a/yuthon_issue/views/issue_library_views.xml +++ b/yuthon_issue/views/issue_library_views.xml @@ -1093,1618 +1093,7 @@ (0, 0, {'view_mode': 'tree', 'view_id': ref('yuthon_issue.view_issue_library_tree5')}), (0, 0, {'view_mode': 'form', 'view_id': ref('yuthon_issue.view_issue_library_form5')})]"/> - - - issue.library.tree - issue.library - - - - - - - - -