odoo/odoo#203198
Created by fw-bot
Merged
at 93f5df5f447c29390852670b72e313c6511cc33d
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-18.0-fix-donation-button-preview-on-drag-bvr-425142-fw
- head
- 8a3e64010c1019430deb6926cfa846afacf1eb3c
- merged
- 7 months ago by Website, Serge Bayet (seba)
odoo/odoo | |
---|---|
18.0 | #202829 |
saas-18.1 | #202926 |
saas-18.2 | #203197 |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #203198 |
[FW] 18.0 fix donation button preview on drag bvr
[FIX] website_payment: fix donation button preview on drag
Steps to reproduce:
- Enter edit mode.
- If not already installed, click the "Donation Button" in the snippet
menu to install the "website_payment" app. - Start dragging the "Donation Button" without dropping it onto the page
to display its preview. - Bug: Prefilled buttons are displayed in the preview when they
shouldn't be.
This bug was introduced by commit 1, where the prefilled buttons were
added to the "s_donation" snippet template so that they would be visible
in the "s_donation" preview in the snippets dialog. Unfortunately, this
change also made them visible for the inner "Donation Button" snippet,
which shouldn't be the case.