Wednesday, February 2, 2022
2 changes
Enhancements to existing features
SEPA Direct Debit payment notifications now reuse the payment transaction already being processed instead of searching for it multiple times. This improves processing efficiency and keeps payment validation behavior consistent.
Original PR description
Before this commit, most acquirers needed to run several successive searches for the transaction whose reference was received by a controller in notification data. This is because the security checks run on the notification data require access to the acquirer through the transaction record which was immediately discarded. Starting with this commit, all `*_feedback_data` method are no longer decorated with `api.model` and can use the transaction record they're called on if provided. They are also renamed to `*_notification_data`. task-2737144 See also: - https://github.com/odoo/odoo/pull/83850
The payroll accounting test suite for Belgium was adjusted to allow for a higher expected query count after related system changes. This is an internal maintenance update that helps keep automated tests aligned and does not change user-facing payroll features.
Original PR description
Title :) See odoo/odoo#76097 TaskId-2602897