Saturday, April 12, 2025
2 changes · master
Miscellaneous changes
Description of the issue this commits addresses: The Customer Statement button is shown too often and leads to empty customer statements in some scenarios. The banner warning the user that some entries are draft is also shown too often and should only appear if the selected partner(s) have draft entries. --- Desired behavior after this commit is merged: The button only shows when the customer statement it will lead to has values to show. This means both making sure the partner has
Original PR description
Description of the issue this commits addresses: The Customer Statement button is shown too often and leads to empty customer statements in some scenarios. The banner warning the user that some entries are draft is also shown too often and should only appear if the selected partner(s) have draft entries. --- Desired behavior after this commit is merged: The button only shows when the customer statement it will lead to has values to show. This means both making sure the partner has moves to show on the customer statement but also that the customer statement actually shows them. Same for the draft entries warning banner. It will only be shown when the selected parter(s) has(have) draft entries. --- task-4680249 Forward-Port-Of: odoo/enterprise#83340 Forward-Port-Of: odoo/enterprise#82531
When posting the closing entry of an Italian tax return, with the l10n_it_xml_export module installed, a traceback is raised. Steps to reproduce: 1. Install l10n_it_xml_export. 2. Using an IT company, create a closing entry for the tax return. 3. Post the closing entry, a wizard opens. 4. Validate the values. 5. A traceback is raised. Ticket [link](https://www.odoo.com/odoo/project/967/tasks/4715039) opw-4715039 Forward-Port-Of: odoo/enterprise#83284
Original PR description
When posting the closing entry of an Italian tax return, with the l10n_it_xml_export module installed, a traceback is raised. Steps to reproduce: 1. Install l10n_it_xml_export. 2. Using an IT company, create a closing entry for the tax return. 3. Post the closing entry, a wizard opens. 4. Validate the values. 5. A traceback is raised. Ticket [link](https://www.odoo.com/odoo/project/967/tasks/4715039) opw-4715039 Forward-Port-Of: odoo/enterprise#83284