From 9da54951e8058489482cdedf8feeed202738caaf Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Tue, 22 Feb 2022 15:54:48 +0000 Subject: [PATCH] [IMP] website_sale: Update attribute display type in front Allow editing the attribute's display type from the front end using the web editor. Closes: odoo/odoo#85153 TaskId-2675390 Signed-off-by: Yannick Tivisse (yti) --- addons/sale/views/variant_templates.xml | 9 ++--- addons/website_sale/controllers/main.py | 9 +++++ .../static/src/js/website_sale.editor.js | 34 +++++++++++++++++++ .../website_sale/views/snippets/snippets.xml | 8 +++++ 4 files changed, 56 insertions(+), 4 deletions(-) diff --git a/addons/sale/views/variant_templates.xml b/addons/sale/views/variant_templates.xml index 06b74b1e09f..72813de20e1 100644 --- a/addons/sale/views/variant_templates.xml +++ b/addons/sale/views/variant_templates.xml @@ -7,6 +7,7 @@
  • @@ -17,7 +18,7 @@