[FIX] website_sale: add missing step
if website_animate is installed. Website_animate suggests to animate the image when it's selected and hides the blocks. So we add a click on "Blocks" to ensure we're in the right menu before continuing. If website_animate isn't installed, this extra step doesn't alter the current behaviour. Technically this should be done in a bridge module depending on website_sale and website_animate but none exists and it's not worth creating one for this tiny fix alone. closes odoo/odoo#37377 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -44,6 +44,9 @@ odoo.define("website_sale.tour_shop", function (require) {
|
||||
run: function (actions) {
|
||||
actions.auto(".modal-footer .btn-secondary");
|
||||
},
|
||||
}, {
|
||||
trigger: "button.o_we_add_snippet_btn",
|
||||
auto: true,
|
||||
}, {
|
||||
trigger: "#snippet_structure .oe_snippet:eq(3) .oe_snippet_thumbnail",
|
||||
extra_trigger: "body:not(.modal-open)",
|
||||
|
||||
Reference in New Issue
Block a user