-
- Downloads
[FIX] website, website_sale: preconfigure Dynamic Products w/ 1st option
Before this commit the Dynamic Products snippet was displaying a message box instead of its content until its template and product category were selected. After this commit the Dynamic Products snippet is automatically configured on drop with the first available template and the first available product category. The message box only appears if no product category exists yet. Also an "All Products" category was added as first element of the list to make the snippet usable before categories are defined. task-2439295 https://github.com/odoo/odoo/pull/64982 closes odoo/odoo#64982 Signed-off-by:Jérémy Kersten (jke) <jke@openerp.com>
Showing
- addons/website/static/src/snippets/s_dynamic_snippet/000.js 8 additions, 1 deletionaddons/website/static/src/snippets/s_dynamic_snippet/000.js
- addons/website_sale/static/src/snippets/s_dynamic_snippet_products/000.js 18 additions, 1 deletion...ale/static/src/snippets/s_dynamic_snippet_products/000.js
- addons/website_sale/static/src/snippets/s_dynamic_snippet_products/options.js 18 additions, 0 deletions...static/src/snippets/s_dynamic_snippet_products/options.js
- addons/website_sale/views/snippets/s_dynamic_snippet_products.xml 1 addition, 0 deletions...ebsite_sale/views/snippets/s_dynamic_snippet_products.xml
Please register or sign in to comment