From 9b8b1141d0de5f15725f1a1b42a22cc0d6250b6f 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 | 6 ++---- pingen_env/models/res_company.py | 2 +- pingen_env/views/base_config_views.xml | 24 ------------------------ 3 files changed, 3 insertions(+), 29 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..a00fd608de7 100644 --- a/pingen_env/__manifest__.py +++ b/pingen_env/__manifest__.py @@ -8,11 +8,9 @@ "license": "AGPL-3", "category": "Reporting", "complexity": "easy", - "depends": ["pingen", "server_environment", "base_setup"], + "depends": ["pingen", "server_environment"], "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 - - - - - - - - - - - - - - - - - - - -