Friday, January 17, 2025
1 change · 18.0
Enhancements to existing features
When an invoice report is misconfigured, users now see a clear error message instead of a technical crash. This helps administrators quickly identify that no invoice report is configured in the database and resolve the setup issue.
Original PR description
Problem --------- When you use a Invoice report with the checkbox "Invoice report" unselected (misconfiguration), you get a traceback. Objective --------- Replace it with an error message instead, saying there's no invoice report configured in the database. Solution --------- Turn the asserts into a if condition that raises a user error. task-4421065 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr