From 9162b01827967f06057b8ebbebfabf3b1801c063 Mon Sep 17 00:00:00 2001 From: Andreas Osim Date: Mon, 10 Oct 2022 11:16:49 +0200 Subject: [PATCH] Right management for Intrastat / Intrastat code in menu_sale_config --- ext/custom-addons/dp_custom/security/ir.model.access.csv | 1 + ext/custom-addons/dp_custom/security/security.xml | 4 ++++ ext/custom-addons/dp_custom/views/sale_views.xml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/ext/custom-addons/dp_custom/security/ir.model.access.csv b/ext/custom-addons/dp_custom/security/ir.model.access.csv index e52c6adc..907e0187 100644 --- a/ext/custom-addons/dp_custom/security/ir.model.access.csv +++ b/ext/custom-addons/dp_custom/security/ir.model.access.csv @@ -14,3 +14,4 @@ access_commission_account_manager,access_commission_account_manager,model_commis access_res_confirmation_queue_user,access_res_confirmation_queue_user,model_res_confirmation_queue,base.group_user,1,1,1,1 access_sale_cart,access_sale_cart,model_sale_cart,dp_custom.rule_cart_multi_company,1,0,0,0 access_res_partner_freight_category,access_res_partner_freight_category,model_res_partner_freight_category,base.group_user,1,1,1,1 +access_intrastat,access_intrastat,model_report_intrastat_code,dp_custom.group_allow_intrastat,1,1,1,0 diff --git a/ext/custom-addons/dp_custom/security/security.xml b/ext/custom-addons/dp_custom/security/security.xml index 2cd686e8..d0575208 100644 --- a/ext/custom-addons/dp_custom/security/security.xml +++ b/ext/custom-addons/dp_custom/security/security.xml @@ -1,5 +1,9 @@ + + Bearbeiten von Intrastat-IDs erlauben + Bearbeiten von Intrastat-IDs erlauben + Löschen von Unterschriften in Lieferscheinen erlauben Löschen von Unterschriften in Lieferscheinen erlauben diff --git a/ext/custom-addons/dp_custom/views/sale_views.xml b/ext/custom-addons/dp_custom/views/sale_views.xml index e66b0bbf..b5d50f5e 100644 --- a/ext/custom-addons/dp_custom/views/sale_views.xml +++ b/ext/custom-addons/dp_custom/views/sale_views.xml @@ -409,5 +409,7 @@ sequence="30" /> +