Friday, November 26, 2021
1 change · master
Resolved issues and error corrections
When SEPA batch booking is enabled, payment batches now use the batch date instead of each individual payment date. This helps banks process the batch as a single transaction, reducing duplicate statement lines and making reconciliation easier for accounting teams.
Original PR description
Before this commit if payments in batch have not the same date, the bank doesn't apply the batch in one time (even if sct_batch_booking is True). It is an issue because, one batch generate multi statement line (one per payment date), and it is not possible to reconcile. - Go to runbot: - Create a batch payment with 100 payments dated of 12/05 and 150 payments dated of 21/05, with sct_batch_booking = True - Validate the batch - Import XML in bank system - After a few day you import two bank statement line (one date of 12/05 and an other 21/05) - Open the reconciliation widget, select first line (dated of 12/05) select the batch - --> Issue you should un-select all payments dated of 21/05 With huge volume of payment, it is not usefull. This PR force the date of payment. @oco-odoo Note : can be merge in master if needed