2a41bfcb4d1e9c8e6f80d600de78e5a4b9fa24b5
display_type
__Current behavior before commit:__ When changing the `display_type` of an attribute in the website editor, the page is reloaded. However the template `website_sale.product` is contained in a `t-cache` on "pricelist,product". This means that the template will not be rendered again when the page is reloaded. Thus, the change will not appear for the user. __Description of the fix:__ Flush the cache from the `ir.qweb` model when the attribute display type is edited. This way the template `website_sale.product` will be refreshed. __Steps to reproduce the issue on runbot:__ - Go on the website product page of *Customizable Desk* - Open the website editor - Click on the Legs attribute values - Under the **Block** section, change the **Display Type** The page is reloaded but the display type stays the same ([Video][1]) opw-3495159 opw-3493820 [1]: https://drive.google.com/file/d/142VP4prnHskfa7uFoEkadsoQfQVO-uyW/view closes odoo/odoo#137498 X-original-commit: cc8664973efd7ea3433b5ec5b741f0882fb17dc0 Signed-off-by: Julien Launois (jula) <jula@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%