From fb83017d793a5299bb81c619e4721b9b4fe5a3fd Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Wed, 22 May 2019 08:03:42 +0000 Subject: [PATCH] [IMP] sale: add a settings section to display sale connectors Prior to this commit, sale connectors (sale_amazon, sale_ebay, ...) had no dedicated section in sale's settings. If merged, this commit will allow to install such connectors in one click from the settings of the sale module. task-19575 closes odoo/odoo#35120 Signed-off-by: Damien Bouvy (dbo) --- addons/sale/models/res_config_settings.py | 1 + addons/sale/views/res_config_settings_views.xml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/addons/sale/models/res_config_settings.py b/addons/sale/models/res_config_settings.py index e3ab9915355..f615489201c 100644 --- a/addons/sale/models/res_config_settings.py +++ b/addons/sale/models/res_config_settings.py @@ -57,6 +57,7 @@ class ResConfigSettings(models.TransientModel): module_product_email_template = fields.Boolean("Specific Email") module_sale_coupon = fields.Boolean("Coupons & Promotions") + module_sale_amazon = fields.Boolean("Amazon Sync") automatic_invoice = fields.Boolean("Automatic Invoice", help="The invoice is generated automatically and available in the customer portal " diff --git a/addons/sale/views/res_config_settings_views.xml b/addons/sale/views/res_config_settings_views.xml index f48bf6a07a4..8b1f1a0cb8a 100644 --- a/addons/sale/views/res_config_settings_views.xml +++ b/addons/sale/views/res_config_settings_views.xml @@ -417,6 +417,23 @@ +

Connectors

+
+
+
+ +
+
+
+