Wednesday, July 2, 2025
11 changes · master
Enhancements to existing features
This update removes unused or ineffective database indexes in core Odoo areas and adds a warning when an index setting cannot be applied to translated fields. The change helps reduce unnecessary database overhead and makes configuration issues easier for developers to spot, with no expected impact on everyday users.
Original PR description
#### [IMP] core: warning if index attribute is ignored
Only trigram index is possible on translated fields.
Add a warning if the field is translated and try to be indexed with a btree from the field definition.
Then remove ignored index attribute of accounting.assert.test.name/description.
#### [REM] base: remove complete_name from ir.model.fields
This field is unused and always empty. Also it is indexed for no reason.
#### [IMP] base: remove index of ir.model.constraint.type
This index is unlikely to be used, only 3 values are possible and the table is small in the worst case.
https://github.com/odoo/upgrade/pull/7966
https://github.com/odoo/enterprise/pull/88911Romanian account chart descriptions have been corrected to remove typos and use clearer, more official accounting terminology. This helps Romanian users understand account descriptions more reliably and supports better alignment with local accounting references.
Original PR description
Description of the issue/feature this PR addresses: Some Romanian translations in the chart of accounts contained typos or imprecise terminology. These inaccuracies could lead to confusion for users relying on the Romanian localization. Current behavior before PR: Several account descriptions in Romanian included spelling errors or used vague or non-standard accounting terms. Desired behavior after PR is merged: Account descriptions in Romanian are now corrected, clearer, and better aligned with official terminology, improving usability and compliance with Romanian accounting norms. The updated translations are based on the official ANAF reference: [SAF-T RO Schema Definition Codes v4.1.6](https://static.anaf.ro/static/10/Anaf/Informatii_R/SAF_T_Ro_SchemaDefinitionCodes_v4_1_6_final_1712021.xlsx) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#216358 Forward-Port-Of: odoo/odoo#212477
The employee profile smart button for company cars has been renamed from "Cars" to "Car History". This makes the label clearer by indicating that the button shows the employee's car assignment history, not just current vehicles.
Original PR description
Change the smart button title from `Cars` to `Car History`. task-4751985 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory transfers now better reflect the dates of the stock moves they contain, avoiding confusing situations where a transfer appears newer than one of its related movements. This improves consistency in stock, purchasing, sales, and point-of-sale workflows without changing core business processes.
Original PR description
It's not technically an error, but it doesn't make a lot of sense for a picking having a move that has an older date. (It was needed to improve a test in https://github.com/odoo/enterprise/pull/66084) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When a new sub-task is created, it now starts with the same tags as its parent task. This helps teams keep related project work consistently categorized without manual re-entry.
Original PR description
At the new task creation check if the task has parent to have the same tags as the parent. this should only happen in the sub task creation task-4798190
A new Odoo icon has been added to support the Add Lead button used in VoIP. This provides a more consistent visual experience for users creating leads from call-related workflows.
Original PR description
This commit introduces a new Odoo icon to complement the "Add Lead" button added in Voip in odoo/enterprise#87294. task-4855486 Requires: - https://github.com/odoo/enterprise/pull/87294  Enterprise: https://github.com/odoo/enterprise/pull/87294 Forward-Port-Of: odoo/odoo#216613 Forward-Port-Of: odoo/odoo#214031
The Argentine localization invoice report template was adjusted to make the withholding legend easier to maintain and extend reliably. This reduces the risk of future report customization issues without changing the visible invoice content for users.
Original PR description
In this commit: - Added a unique `id="withholding_legend"` to the document letter block for more reliable XPath targeting - Refactored document legend assignment by extracting the `document type code` into a separate variable task-4837529
WhatsApp conversations now include a “View Contact” action that opens the related contact profile directly. This helps users quickly access customer or operator details from a chat without navigating away manually.
Original PR description
For whatsapp conversations: Add a "View Contact" action that opens the whatsapp users partner form view. Community: https://github.com/odoo/odoo/pull/203079 task-4607618
Companies using Argentine electronic invoicing can now choose to show an “Operation Subject to Withholding” note on eligible invoice, credit note, and debit note PDFs. This helps businesses include the required withholding indication on type A and M documents when it applies, without forcing it for everyone.
Original PR description
In this PR: Add a company setting to show the legend 'Operation Subject to Withholding' on Invoice, Credit Note, and Debit Note PDFs of type A and M. Setting: Add Withholding Legend to Invoice PDF Field: l10n_ar_show_withholding_legend (per company) Shows the legend below the document letter when enabled. task-4837529
This change makes subscription stock tests choose the correct delivery record even when creation dates are not predictable. It helps keep automated checks stable and reduces false test failures without changing business workflows.
Original PR description
Linked to https://github.com/odoo/odoo/pull/171895. Test `simulate_period` was filtering only by date to get the last picking, but that was wrong. We should consider the two cases: 1st. Get the last picking created inside simulate_period(), independently of its date, as we cannot guarantee it will have the freezed date. 2nd. Only check for date in case picking was already created previously.
This update removes leftover development tasks from recent tax return improvements so the master branch stays aligned with Odoo's stable release policy. It affects accounting reports and Belgian VAT/Intrastat reporting cleanup, with minimal direct impact for day-to-day users.
Original PR description
Some leftover of the tax return misc improvements. Those were to be removed in master to not break the stable policy. See https://github.com/odoo/enterprise/pull/87351