Saturday, February 3, 2024
1 change · 17.0
Resolved issues and error corrections
This fix prevents users from accidentally adding website design elements (like badges) inside payment forms, which was causing payment processing failures. The payment form is now protected from website editing to ensure payments work reliably for customers.
Original PR description
Before this commit, it was possible for users to drop website snippets (e.g., the "Badge" block) inside the inline form of payment acquirers. At least for Adyen, it would prevent payments because the payment inputs within the inline form wouldn't load anymore. As inline forms are part of the payment form widget, which itself is not customizable by users, this commit blocks the website editor inside the entire payment form and its children elements. opw-3607719 Forward-Port-Of: odoo/odoo#152403 Forward-Port-Of: odoo/odoo#152306