From 439f545c9ce10d719462d93bfc8d58bb02a2665b Mon Sep 17 00:00:00 2001 From: Ahmed Aly Date: Mon, 18 Dec 2017 15:04:29 +0100 Subject: [PATCH] fixed setup(admin users needed website permission) --- ext/custom-addons/dp_custom/data/glaser_company_data.xml | 1 + ext/custom-addons/dp_custom/data/tz_austria_company_data.xml | 1 + setup/lib/config_glaser.py | 1 - setup/lib/config_tza.py | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/custom-addons/dp_custom/data/glaser_company_data.xml b/ext/custom-addons/dp_custom/data/glaser_company_data.xml index a29c13c1..ef3bc767 100644 --- a/ext/custom-addons/dp_custom/data/glaser_company_data.xml +++ b/ext/custom-addons/dp_custom/data/glaser_company_data.xml @@ -37,6 +37,7 @@ (4,ref('base.group_system')), (4,ref('base.group_partner_manager')), (4,ref('account.group_account_user')), + (4,ref('website.group_website_designer')), (4,ref('queue_job.group_queue_job_manager'))]"/> diff --git a/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml b/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml index a6d7b76a..50c44955 100644 --- a/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml +++ b/ext/custom-addons/dp_custom/data/tz_austria_company_data.xml @@ -13,6 +13,7 @@ (4,ref('base.group_system')), (4,ref('base.group_partner_manager')), (4,ref('account.group_account_user')), + (4,ref('website.group_website_designer')), (4,ref('queue_job.group_queue_job_manager'))]"/> diff --git a/setup/lib/config_glaser.py b/setup/lib/config_glaser.py index 35c81f0a..20ccb476 100644 --- a/setup/lib/config_glaser.py +++ b/setup/lib/config_glaser.py @@ -23,7 +23,6 @@ class ConfigGlaser(Config): 'vat': 'ATU17860303', 'vat_check_vies': True, 'logo': '../ext/custom-addons/dp_custom/static/src/img/logo_glaser.png', - 'supplier': True, #'favicon_backend': '../ext/custom-addons/dp_custom/static/src/img/favicon.ico', #'favicon_backend_mimetype': 'image/x-icon' } diff --git a/setup/lib/config_tza.py b/setup/lib/config_tza.py index 367ae74c..863eac1a 100644 --- a/setup/lib/config_tza.py +++ b/setup/lib/config_tza.py @@ -23,7 +23,6 @@ class ConfigTZA(Config): 'vat': 'ATU 54619104', 'vat_check_vies': True, 'logo': '../ext/custom-addons/dp_custom/static/src/img/logo.png', - 'customer': True, #'favicon_backend': '../ext/custom-addons/dp_custom/static/src/img/favicon.ico', #'favicon_backend_mimetype': 'image/x-icon' }