Tuesday, March 23, 2021
10 changes · master
Enhancements to existing features
Website editors can now more easily show or hide content snippets on mobile devices using a clearer top-level control with mobile visibility icons. This makes responsive page editing faster and reduces the chance of publishing content that displays incorrectly on phones.
Original PR description
[IMP] website: improve the UI of the mobile visibility option Adding the option to show/hide on mobile in snippet level. Using the fa-mobile icon. Color green if visible on mobile, grey, else. task-2431659
This update modernizes how Odoo's messaging tools manage internal data changes, replacing older command formats with a clearer and more consistent approach. It mainly affects mail-related features such as conversations, attachments, followers, activities, live chat, HR employee data, and time off discussions, helping reduce future maintenance risk without changing day-to-day user workflows.
Original PR description
task-id: 2453408
Warehouse users can more easily validate large receipts and deliveries when only a few product quantities differ from the planned amounts. The change reduces manual line-by-line updates and also applies to batch pickings, saving time during stock operations.
Original PR description
When you want to validate a picking with a lot of products, the system notifies "You have not recorded done quantities yet, by clicking on apply Odoo will process all the quantities." Nice and easy, except when you were not able to process all the quantities. In that case you have to update all but the few lines manually. task-2158092 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
Users can now select existing mailing contacts and add them in bulk to another mailing list, either an existing one or a new one created on the spot. This reduces manual copy-pasting and makes it easier to reuse contact groups for future email campaigns.
Original PR description
create a button that allows users to add selected mailing list contacts to a mailing list, the purpose is to allow users to handle their mailing contacts by: - letting them create populated mailing lists on the fly - letting them add contacts to existing lists Task-2453990 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Invoice journal items now use a mobile-friendly card layout on small devices while keeping the standard table view on desktop. This makes invoice details easier to read and review on phones and tablets.
Original PR description
Before, journal items tab on invoice display in tree view, that decrease the redability in small devices. After this commit, journal items are displayed in a kanban view for small devices and tree view for desktop. Task ID: 2157725
Product package length, width, and height measurements now use millimetres when the product length configuration is not set to feet. This gives businesses more accurate and consistent package dimension units instead of defaulting to metres.
Original PR description
Changed the uom of product package if product_length_in_feet_param of ir config parameter for product is not 1. Previously its value was meter. For following fields updated the uom - 1) packaging_length 2) width 3) height TaskId: 2418421 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 update makes Odoo read XML and HTML content more efficiently when preparing translated views. It reduces loading time for cached views, especially larger website pages, improving responsiveness during cache refreshes and similar operations.
Original PR description
The old algorythm was recreating a full etree from scratch, while parsing the content to translate. Now, we just parse the etree and update only the content that to be translated.
Before:
| In [2]: %timeit views.refresh(); views.mapped('arch_db')
| 504 ms ± 18 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
After:
| In [2]: %timeit views.refresh(); views.mapped('arch_db')
| 191 ms ± 2.38 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
Reading a view is 2.63x faster: from 504 ms, to 191 ms (sum of all the 1345 views, when installing website_sale). Large views, like web pages goes up to 3x-4x faster; small views are ~2x faster.
As views are cached, it only impacts the loading to put in cache, but all XML/HTML fields get the same performance gain.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prWebsite editor range controls now respond as soon as their value changes, making editing interactions feel more immediate and accurate. This improves the experience for users adjusting slider-based settings in the editor.
Original PR description
The purpose of this commit is to add an event listener triggered on current value change of the input range type. task-2362091
Package size data for DHL and UPS shipping has been updated to use millimeters instead of meters. This improves consistency and helps ensure shipping package dimensions are recorded in the expected unit of measure.
Original PR description
In this task, changed the uom of height, length and width of product package from m to mm. As updating values according to mm uom. TaskId: 2418421
This update modernizes internal data handling in the Approvals and VoIP areas. It should help keep these features easier to maintain without changing the day-to-day user experience.
Original PR description
task-id: 2453408