Wednesday, September 28, 2022
1 change · master
Resolved issues and error corrections
Early payment discounts now show the correct default account when registering customer invoices and vendor bills. This reduces accounting errors by ensuring income and expense discount accounts are no longer swapped, and related tax labels are clearer.
Original PR description
While offering an early payment discount to a customer via a specific payment term, then Registering a Payment, the default account displayed were inverted (Cash discount expense account was the default for an invoice, cash discount income account was the default for a bill). This commit fixes this behaviour and also changes the default tax computation labels so they're more specific. Part of task-2957279 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr