Friday, August 2, 2024
4 changes · master
Enhancements to existing features
The timesheet timer is now preserved when users move between timesheet views, reducing the risk of losing tracked work time. If a timer starts without a default project, the system keeps it temporarily and automatically saves it once a project is selected.
Original PR description
Remove unnecessary code from `timesheet_timer_hooks.js`. Add a hook `onRecordChanged` to the timesheet controllers to manage the usecase where we start a timer, but no "default" project is found. In that case, we create a "fake" record in the view (we don't save it because without project, it is not qualified as a timesheet but as an analytic line). As soon as a project is set on it however, we want to save it, and that is what the hook does. related: https://github.com/odoo/odoo/pull/154134 task-3594778
New spreadsheet dashboards created from the Documents app are now published by default, so users can find them immediately on the main Dashboards page. This reduces confusion and removes the extra step that previously kept newly created dashboards hidden.
Original PR description
Purpose ------- When users create a spreadsheet in the Documents app, then convert it to a dashboard (File > Add to dashboards), they don't understand why the spreadsheet doesn't appear in the main Dahsboards landing action. The reason is that the dashboard is not publised by default Spec ---- Set dashboard to published by default to avoid not finding your dashboard Task: 4077300
Barcode lookup now only runs for products using recognized EAN or UPC barcode formats. This helps avoid unnecessary lookups and prevents invalid barcode lengths from being accepted during product creation.
Original PR description
Previously, the barcode lookup was triggered for barcodes of any length, and the product creation form accepted barcodes of any length. With this commit ================= The barcode lookup will now be restricted to only those barcodes encoded in EAN or UPC formats. Additionally, the product creation wizard will only accept barcodes in the specified formats. [3974067](https://www.odoo.com/odoo/my-tasks/3974067?cids=2)
Resolved issues and error corrections
This update fixes time selection and display issues for locales that use 12-hour clocks with AM/PM. It helps users avoid incorrect shift or rental times when working in affected regional settings.