Wednesday, October 23, 2024
1 change · 17.0
Enhancements to existing features
This update enhances the accuracy of Early Payment Discount (EPD) reconciliation in countries with cash rounding practices. Previously, slight overpayments weren't recognized, leading to manual adjustments. Now, accountants can customize tolerance levels, ensuring correct discount recognition and streamlining reconciliation workflows.
Original PR description
In countries using extensively cash roundings, invoices having a early payment discount can usually be paid within a cash rounding tolerance. e.g. with a cash rounding of 0.05, and an early payment discount of 5%, for a total amount of 868.25, a discount amount of 824.84 will be stored. If a customer pays slightly more (eg 824.85), the early payment will not be recognized in the reconciliation widget, resulting at best in a partial payment that will require extra work for the accountant to write off properly for early payment discount. By allowing to customize the comparison between open amount and total discount, it allows to implement any kind of tolerance in custom modules without breaking anything in the actual reconciliation mechanism. OPW-3985470 Forward-Port-Of: odoo/enterprise#68523