Sunday, May 8, 2022
1 change · master
Enhancements to existing features
Invoices now keep required tax line entries when taxes are present on invoice lines, including 0% taxes. This helps prevent accidental changes that could make tax reports inaccurate or incomplete.
Original PR description
Prevent erasing of a tax line entry if there is a tax related to it in the invoice This is actually checking if for each tax of each line of invoice in the move, there exist a tax entry. This will prevent the users from accidentally or dully erasing tax lines which includes 0% taxes. Task ID:2834679 Before this, users were able to remove tax entries from invoices, which led to mess up tax reports. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr