odoo/odoo#203197
Created by fw-bot
Merged
at ecb13bf5f05d9e170195189b2078dce124b2616b
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- 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:saas-18.2-18.0-fix-donation-button-preview-on-drag-bvr-424715-fw
- head
- 3e1bc0b90ba1ee2639066d45924fc489afd30511
- merged
- 7 months ago by Website, Benjamin Vray (bvr)
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.