Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website_payment: fix incorrect custom amount behavior in /donat…
…ion/pay Since version 15.0, users have encountered issues with the custom amount selection on the donation page, leading to confusion about the amount that would actually be donated. Bug 1: Multiple amounts could be selected simultaneously, affecting versions 17+. Bug 2: The last selected amount was not the actual amount donated, affecting versions 15+. This commit addresses Bug 1,2 in version 17+. During the forward port to master, the patch will be removed Steps to Reproduce: 1. Place a donation on the website with predefined amounts. 2. Select a predefined donation amount. 3. Enter a custom donation amount. 4. Switch back to a predefined amount. 5. Select the custom amount again and proceed to donate. Result: The custom amount is not properly applied. For more details, see the video linked in the task task-4115678 closes odoo#177270 X-original-commit: 9c4d599 Signed-off-by: Benoit Socias (bso) <bso@odoo.com> Signed-off-by: Alessandro Caldonazzi (alca) <alca@odoo.com>
- Loading branch information