Daily updates from Odoo
Friday, August 21, 2020
6 changes · master
Enhancements to existing features
The grid view now uses the first day of the week defined by each user's language settings instead of always starting on Monday. This makes weekly planning and reporting align better with local business practices across regions.
Original PR description
Grid view now displays the first day of the week by the user's current language. task - 2299266
Users can now manually choose whether an IoT input device should behave as a scanner or a keyboard. This helps businesses keep barcode scanning workflows working when certain scanners are incorrectly detected as keyboards by the system.
Original PR description
Some scanner are detected like keyboard because they do not meet the conditions to be supported as a scanner by the driver. So we add the possibility to manually switch the type of device between scanner and keyboard.
Check payment stubs now always show the check number, making printed check records easier to identify and reconcile. The check header still only shows the number when manual sequencing is used, preserving the existing behavior for automatically managed check numbers.
Original PR description
Task [2005940](https://www.odoo.com/web#id=2005940&action=333&active_id=967&model=project.task&view_type=form&cids=1&menu_id=4720) Always display check number on the stub, but only when manual sequencing on the header
Planning users can now see and change the shift template directly on a shift. Selecting a different template automatically updates related details such as role, project, task, and dates, helping teams adjust schedules faster with fewer manual edits.
Original PR description
======= Purpose ======= Allow to easily modify a shift using templates (e.g. switch from an afternoon shift to a morning shift in one click). =============== Specifications =============== Always display the 'Shift Templates' field on shifts - If a shift was created using a template, the corresponding template should be displayed as being selected - If the user selects another template, apply an onchange on the role, project, task and date fields (if set on the template) - If the user unselects the template, empty the role, project, task fields TaskID: 2208080
Managers can now choose a custom time period when sending planning schedules, instead of being limited by the current view. The update also fixes yearly planning display issues and improves the calendar experience for external or non-user recipients.
Original PR description
Before this commit, the planning start_datetime and end_datetime were defined by the view and could not be modified. This PR allows to define custom period. This PR fixes also the yearly planning that would only display the current month. This PR improve also the calendar view for non user.
This change reduces the risk of database instability when administrators change system settings. It moves sensitive module installation and removal handling away from risky custom overrides, making configuration changes safer and more reliable.
Original PR description
Execute shouldn't really be overriden because it handles a very touchy case: module (un)installs, if it is poorly overriden it can create registry inconsistencies and can make databases crash in really dumb ways, since the module operations *need* to be performed at the end of the transaction (last). Most of the time, an override of set_values() does the same job and is much safer. Linked to https://github.com/odoo/odoo/pull/56032