From 1d2dd3f76fbbb3e8d05d323da4f9c0645dc48022 Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Tue, 2 Feb 2021 10:05:10 +0000 Subject: [PATCH] [IMP] website, website_sale: remove most escaping from Dynamic Products Before this commit the filtering code for the Dynamic Products snippet was rendering all its values. After this commit the filtering code for the Dynamic Products snippet mostly returns the values to be rendered. Because the list_price still needs to be rendered with the correct currency, the general rendering mechanism is being informed through the field meta-data that the escaping was already done. task-2446024 https://github.com/odoo/odoo/pull/65176 --- addons/website/data/website_data.xml | 12 ++- .../website/models/website_snippet_filter.py | 99 ++++++++++++------- addons/website_sale/data/data.xml | 22 ++--- 3 files changed, 75 insertions(+), 58 deletions(-) diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index e16d1754bd8..21b49b0a11d 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -723,10 +723,11 @@