Wednesday, April 17, 2024
1 change · master
Code cleanup and technical improvements
Payment and subscription follow-up actions are now handled after the main payment state change, so one failed action is less likely to block other required business steps. This improves reliability for subscription payments, SEPA direct debit, appointment payments, and related tax flows without changing the customer-facing payment process.
Original PR description
Some modules were overriding \_set\_'state' functions to trigger some business operations. In case of failure of one override function the rest of them would also fail. This overrides are moved to post-processing in order to ensure proper execution of all functions. See also: - https://github.com/odoo/odoo/pull/144710 - https://github.com/odoo/upgrade/pull/5546 task-2309987