From 2f7b7428349aa5e4680fb8c71375a0e51be3a78b Mon Sep 17 00:00:00 2001 From: Anna Janiszewska Date: Wed, 3 May 2023 09:00:56 +0200 Subject: [PATCH] fixup! fixup! [ADD] pingen_env --- pingen_env/__manifest__.py | 4 +--- pingen_env/models/res_company.py | 2 +- pingen_env/views/base_config_views.xml | 24 ------------------------ 3 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 pingen_env/views/base_config_views.xml diff --git a/pingen_env/__manifest__.py b/pingen_env/__manifest__.py index 09246a4bb88..627c97574ff 100644 --- a/pingen_env/__manifest__.py +++ b/pingen_env/__manifest__.py @@ -10,9 +10,7 @@ "complexity": "easy", "depends": ["pingen", "server_environment", "base_setup"], "website": "https://github.com/OCA/report-print-send", - "data": [ - "views/base_config_views.xml", - ], + "data": [], "post_init_hook": "post_init_hook", "installable": True, "auto_install": False, diff --git a/pingen_env/models/res_company.py b/pingen_env/models/res_company.py index a991604480f..07d72d34430 100644 --- a/pingen_env/models/res_company.py +++ b/pingen_env/models/res_company.py @@ -34,7 +34,7 @@ def _compute_pingen_env(self): "pingen_clientid": "", "pingen_client_secretid": "", "pingen_organization": "", - "pingen_staging":False, + "pingen_staging": True, "pingen_webhook_secret": "", } if serv_config.has_section(global_section_name): diff --git a/pingen_env/views/base_config_views.xml b/pingen_env/views/base_config_views.xml deleted file mode 100644 index 22909877522..00000000000 --- a/pingen_env/views/base_config_views.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - res.config.settings - - - - - - - - - - - - - - - - - - - -