Daily updates from Odoo
Monday, August 26, 2019
12 changes · master
Enhancements to existing features
Invoice creation is made faster by avoiding repeated processing of the same field during internal calculations. This reduces unnecessary work and improves performance by about 5% without changing user-facing workflows.
Original PR description
The same field was added multiple time as a trigger. Speed up invoice creation by 5%. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change improves invoice creation performance and fixes related company and partner ranking behavior. Businesses should see slightly faster accounting workflows and more reliable partner information when invoices are posted.
Original PR description
Speed up invoice creation by 5% allowing the same field being several times in a depends. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now loads IoT Box drivers automatically when the box starts or connects to an Odoo instance, reducing manual setup and helping devices become ready faster. Administrators can turn off automatic loading when they need to preserve custom changes made directly on the box.
Original PR description
Automatically load the IoT Drivers when Odoo starts on the IoT Box or when the connection to the Odoo instance is done. Allow to deactivate the automatic load to avoid overriding modifications made on the Box. TaskID: 2009683 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Customer-facing POS displays are now configured and controlled per IoT device instead of through the IoT Box screen module. This makes device management more consistent, prevents extra browser tabs when display URLs change, and reduces unnecessary display refreshes during order edits.
Original PR description
Linked to odoo/enterprise#5266 - Move all the logic that was inside hw_screen into an IoT Driver in order to have consistency between devices. - Move the configuration of screen_url from the IoT Box form to the IoT Device. - If an URL different than the default one is used, refresh the page every minute. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Editable list views now let users adjust column widths directly from the column headers. This makes dense records easier to read and work with, while supporting tests were updated to keep list behavior reliable.
Original PR description
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 improves day-to-day manufacturing and inventory screens by hiding fields that are not relevant unless related features are active, clarifying labels, and narrowing product choices when creating lots or serial numbers. It also includes small fixes for sales and mass mailing compatibility after recent data model changes.
Original PR description
Mainly to benefit from the revert from @d-fence
This update adds automated checks for key eLearning course flows, including joining a public course, accessing course content, and completing lessons in the fullscreen player. It also fixes YouTube lesson auto-completion so learners receive completion credit when videos near the end.
Follower actions are now easier to access on small screens, so users can follow or unfollow records and manage followers from mobile devices. The follower menu also has better spacing and larger tap areas, making it more comfortable to use on touch screens.
Original PR description
Pad:https://pad.odoo.com/p/r.0fa02394ca0736744b1793b5ff5c3f96 Task:https://www.odoo.com/web#id=1928573&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
Customer-facing POS displays are now managed as individual IoT devices instead of being configured only at the IoT Box level. This makes it easier for businesses to use different display URLs per device and keep screens updated automatically when settings change.
Original PR description
Linked to odoo/odoo#35707 - Move all the logic that was inside hw_screen into an IoT Driver in order to have consistency between devices. - Move the configuration of screen_url from the IoT Box form to the IoT Device. - If an URL different than the default one is used, refresh the page every minute.
IoT Box drivers now load automatically when Odoo starts on the IoT Box or when it connects to an Odoo instance. This reduces manual setup and helps devices become ready faster, while still allowing automatic loading to be disabled to preserve custom changes on the Box.
Original PR description
Automatically load the IoT Drivers when Odoo starts on the IoT Box or when the connection to the Odoo instance is done. Allow to deactivate the automatic load to avoid overriding modifications made on the Box. TaskID: 2009683
Resolved issues and error corrections
This fixes an issue in the Mexican electronic invoicing module where required invoice data could be skipped during processing. It helps users save customer invoices and cancel journal entries without unexpected errors.
Original PR description
[FIX] l10n_mx_edi: Non-computed fields on Journal Entry = - l10n_mx_edi_cfdi_uuid - l10n_mx_edi_cfdi As part of computed fields that are skipped in loops and are not initialized then they begin to cause troubles. Be it in the creation of Invoices or When trying to cancel a Journal Entry. When creating a new Customer Invoices for l10n_mx it is not allowed to save as following error arises.  When trying to cancel a Journal Entry <img width="1462" alt="Screen Shot 2019-08-21 at 2 35 38 AM" src="https://user-images.githubusercontent.com/7598010/63412981-6a87d480-c3be-11e9-8294-57334288aecb.png">
Code cleanup and technical improvements
This change updates how sales-related user access groups are managed, replacing the previous generated view approach with explicit fields for Sales and Sales Teams. It also makes group changes more consistent by removing linked higher-level access when needed and warning users when a change will affect related groups.
Original PR description
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