Monday, October 2, 2023
9 changes · master
Enhancements to existing features
The website editor now creates pasted or inserted HTML content in the same page context as the editor itself. This reduces errors when the editor runs inside an embedded frame, making content insertion more reliable for users.
Original PR description
This commit changes the API of the public `parseHTML` util, in order to allow the use the editor's document to create a document fragment. This aims to avoid mismatches in the prototype chain of HTML elements created by such util and the ones present in the editable, when the editor is mounted in an iframe. This is of particular relevance for the 'insert' command, in which the node to be inserted is tested for `instanceof` the editor's document global `Node` object. task-3526134 Enterprise PR: https://github.com/odoo/enterprise/pull/48108
This update adds a small extension point that makes it easier to tailor which optional products can be offered on sales orders. It supports more flexible sales configurations while keeping the change behind the scenes for most users.
Original PR description
Follow-up of https://github.com/odoo/odoo/pull/135811 See also: https://github.com/odoo/enterprise/pull/48138
This update allows internal document types to be used across all Latin American invoice documents where applicable. It helps businesses manage local invoicing workflows more consistently and reduces manual workarounds for internal document classification.
Original PR description
Description of the issue/feature this PR addresses: We could not do internal types that were put on all invoice documents 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
Spreadsheet autocomplete will no longer show internal functions that are not intended for everyday users. This keeps the formula experience cleaner while still allowing existing formulas or manually typed function names to work as before.
Original PR description
### Description of the issue/feature this PR addresses: Two odoo functions `odoo.pivot.position` and `_t` should not be presented to end users. ### Current behavior before PR: They are presented in the auto-complete dropdown. ### Desired behavior after PR is merged: They are not presented in the dropdown so users should not know their existences. However, the formula assistant will still be opened if they are typed in. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The accounting report trade partner filter has been updated to support clearer choices instead of a simple yes/no setting. This makes report filtering more flexible and easier to align with business reporting needs.
Original PR description
Before this PR, the trade partner filter was using a boolean instead of a selection field. This PR will change the type of the field to a selection. task-id: 3499156 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When an employee contract is set to running, the system now automatically names the related Dimona to-do activity. This makes the task easier for payroll teams to recognize and act on without opening it for details.
Original PR description
When setting a contract to "running" status, a to-do activity for "Dimona" is created. However, the activity's summary was left blank. This improvement ensures that the summary is automatically filled with the term "Dimona". Task-3499212
Internal tests for Studio and spreadsheet features were updated to match recent wording and interface changes around record matching and filter conditions. This helps keep automated quality checks reliable without changing business workflows.
Original PR description
This commit updates studio and spreadsheet tests to fit with changes introduced in https://github.com/odoo/odoo/pull/135861 (removal of the Add condition button and new wording for records matching) task-3482381
Sales teams can now include rentable products as optional add-ons on rental quotations and templates, not just standard sale products. This makes rental offers more flexible and helps customers see relevant rental extras during the sales process.
Original PR description
Before this commit, only sale_ok products can be added as optional products. After this commit, rent_ok products can be added as optional products. Follow-up of https://github.com/odoo/enterprise/pull/47557 See also: https://github.com/odoo/odoo/pull/137053
The Knowledge app’s automated tests were adjusted to work with an updated internal HTML parsing helper. This keeps test coverage aligned with platform changes and helps prevent disruption as the underlying code evolves.
Original PR description
The parseHTML util now takes a `Document` object as first parameter. task-3526134 Community PR: https://github.com/odoo/odoo/pull/136984