Monday, March 3, 2025
10 changes · 17.0
Enhancements to existing features
Sales order previews in the customer portal now hide the taxes column when Avatax is enabled. This avoids showing tax details that may not be applicable or finalized through Avatax, reducing confusion for customers reviewing orders online.
Original PR description
Adding a condition for Avatax not being enabled on the taxes column in portal view of sales orders. task: 4423974
Resolved issues and error corrections
The audit trail now shows a more appropriate error message when users cannot delete an incorrect payment. This avoids directing users to archive a payment when that option is not available, reducing confusion during accounting corrections.
Original PR description
**issue:** When "Audit Trail" is activated and a user creates an incorrect payment, deleting the payment is not possible. The error message suggests archiving the payment; however, there is no option to archive it. A more flexible error message should be used instead. opw-4494820
Miscellaneous changes
Some "True"/"False" terms were incorrectly untranslated back into "True"/"False" in German. This cases a test to fail and was incorrect in these contexts. Revert it. Note: Some inconsistency reverts may have been applied, but should have no effect on code. More thorough revert will be done later on by translator. 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 t
Original PR description
Some "True"/"False" terms were incorrectly untranslated back into "True"/"False" in German. This cases a test to fail and was incorrect in these contexts. Revert it. Note: Some inconsistency reverts may have been applied, but should have no effect on code. More thorough revert will be done later on by translator. 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
This fix prevents Italian electronic invoice imports from failing when a withholding-related line has a zero value. Businesses can now import affected supplier invoices without manual correction or interruption.
Original PR description
When we import an Italian EDI file with a withholding tax line that has a zero amount, we get a division by zero error. This commit fixes this issue by ensuring the import handles zero amounts without raising an error.
Steps to reproduce:
- Import an XML file containing the following `DettaglioLinee`:
```xml
<DettaglioLinee>
<NumeroLinea>2</NumeroLinea>
<Descrizione>Contributo ENASARCO</Descrizione>
<PrezzoUnitario>0.00</PrezzoUnitario>
<PrezzoTotale>0.00</PrezzoTotale>
<AliquotaIVA>22.00</AliquotaIVA>
<AltriDatiGestionali>
<TipoDato>CASSA-PREV</TipoDato>
<RiferimentoTesto>TC07 - ENASARCO</RiferimentoTesto>
<RiferimentoNumero>10.03</RiferimentoNumero>
</AltriDatiGestionali>
</DettaglioLinee>
```
Since PrezzoUnitario is 0, this causes a division by zero error.
Ticket [link](https://www.odoo.com/odoo/project/967/tasks/4555966)
opw-4555966When duplicated on-premise databases cause Peppol access tokens to fall out of sync, users will now see a clearer error message instead of a cryptic technical failure. The message directs affected users to Odoo Support, helping them recover access faster and reducing confusion.
Original PR description
Lately we have been encountering increasing issues with on-prem databases which are being duplicated without running neutralization scripts, and thus when one of the two instances renews its refresh token, the other database's refresh token gets out of sync and we end up with a cryptic error `Invalid signature for request to the account_edi proxy`. 1. Prod and Staging both have refresh token RT1 2. Staging needs new refresh token: sends RT1 to IAP and gets RT2 3. IAP invalidates RT1 4. Prod still has RT1 and tries to refresh 5. IAP rejects RT1 because it is no longer aware of RT1 6. Test cannot get a new token and loses access with this error as the signature is no longer valid This commit simply improves this error message and redirects users to odoo support. task-4531587
The analytic module migration now checks that expected fields exist before trying to remove a database constraint. This prevents upgrade errors in databases where those fields are missing, making migrations more reliable.
Original PR description
If they not exist, we get an error when trying to delete constraint (As commented by @carlos-lopez-tecnativa in https://github.com/odoo/odoo/pull/197886#discussion_r1971475098). --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The French VAT reporting integration now uses the updated service provider details because ASP-ONE.FR is a brand of Tessi Informatique. This keeps the generated XML information aligned with the provider’s current identity and helps avoid outdated submission data.
Original PR description
ASP-ONE.FR is now a brand of Tessi Informatique and we have to update the information passed in the xml. task-4605970
This fix resolves an issue that prevented demo data from loading for the Mexican payroll localization. It helps teams evaluating or demonstrating Mexican payroll features access sample records reliably without setup errors.
Original PR description
This commit targets to fix error when loading demo data from Mexican payroll localisation Target: 17.0 Task-4486643
This commit will revert the change done in this commit: https://github.com/odoo/odoo/commit/49217dc494d01326bb8a4221bbfa99d9c02aeec5 Because a majority of companies in Saudi Arabia instead provide services locally to Non-Resident Individual Customers, thereby necessitating the issuance of a Simplified Tax Invoice. With our recent change, those non-resident individual contacts are now being issued a Standard Export Tax Invoice, which is incorrect. task-4611062 --- I confirm I have si
Original PR description
This commit will revert the change done in this commit: https://github.com/odoo/odoo/commit/49217dc494d01326bb8a4221bbfa99d9c02aeec5 Because a majority of companies in Saudi Arabia instead provide services locally to Non-Resident Individual Customers, thereby necessitating the issuance of a Simplified Tax Invoice. With our recent change, those non-resident individual contacts are now being issued a Standard Export Tax Invoice, which is incorrect. task-4611062 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#199734
**Issue:** The formula of the cross report line for the 2024 variant of the balance sheet report is referencing a report line from the main profit and loss report instead of its 2024 variant. opw-4566689 opw-4590293 opw-4572865 Forward-Port-Of: odoo/enterprise#80551
Original PR description
**Issue:** The formula of the cross report line for the 2024 variant of the balance sheet report is referencing a report line from the main profit and loss report instead of its 2024 variant. opw-4566689 opw-4590293 opw-4572865 Forward-Port-Of: odoo/enterprise#80551