5eada0c44213604cd27e328cb1d4ca5770ea5cba
Before this commit when a dynamic snippet was fully configured but returned no data, the rendered section remained empty in edit mode. After this commit when a dynamic snippet is fully configured but has no data to display, some sample data is generated in edit mode to give a feel of how the page will look like when data will be available. This commit of merge refactor also the way to get the data to render. We split function to handle data and convert / escape it. The default structure is now simplified and an helper to_generic exists to allow generic template to be used with indexed list. An other PR is coming to change the data getter, and have more generic function to merge 'Recently Viewed' in the "Dynamic products' snippet. task-2446024 closes odoo/odoo#65176 Pr: https://github.com/odoo/odoo/pull/65176 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.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%