From 852b5afe1dac96126082da65a13bee73011fc0c6 Mon Sep 17 00:00:00 2001 From: ivan deng Date: Mon, 22 May 2023 20:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E7=94=A8=20py=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E7=94=9F=E6=88=90=20odoo.app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_common/__manifest__.py | 3 -- app_common/security/app_security.xml | 51 ------------------------- app_common/security/ir.model.access.csv | 3 -- 3 files changed, 57 deletions(-) delete mode 100644 app_common/security/app_security.xml delete mode 100644 app_common/security/ir.model.access.csv diff --git a/app_common/__manifest__.py b/app_common/__manifest__.py index 1013f9ed..48cc5ec6 100644 --- a/app_common/__manifest__.py +++ b/app_common/__manifest__.py @@ -67,9 +67,6 @@ 'web', ], 'data': [ - # 'security/*.xml', - # 'security/ir.model.access.csv', - # 'data/.xml', 'views/ir_cron_views.xml', # 'report/.xml', ], diff --git a/app_common/security/app_security.xml b/app_common/security/app_security.xml deleted file mode 100644 index a4b85605..00000000 --- a/app_common/security/app_security.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - acc_module_user - - - - - - - - - - App... - Helps you manage your ... - 8 - - - - - App User - - - The user will be able to ... - - - - - App Admin - - - The user will be able to config ... - - - - - - - - - - Users are allowed to access their own m/// - - ['|', ('partner_id', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)] - - - - - diff --git a/app_common/security/ir.model.access.csv b/app_common/security/ir.model.access.csv deleted file mode 100644 index 64f91fa5..00000000 --- a/app_common/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_product_attribute_value_group_user,product_attribute_value_group.user,app_product_variant_pro.model_product_attribute_value_group,base.group_user,1,0,0,0 -access_product_attribute_value_group_manager,product_attribute_value_group.manager,app_product_variant_pro.model_product_attribute_value_group,base.group_erp_manager,1,1,1,1 \ No newline at end of file