Daily updates from Odoo
Friday, September 3, 2021
9 changes
Enhancements to existing features
Timesheet reports grouped by billing type now include a grid view. This makes it easier for teams to review and compare billable time information in a structured layout.
The timesheet settings page has been made clearer and easier to use, with updated labels, descriptions, mobile layout improvements, and clearer service navigation. Community users will also see key Enterprise-only options marked consistently, helping them understand available upgrade features.
Original PR description
…e timesheet module The purpose of this task is to improve the setting of the timesheet module. In this commit, we improve the following: - Rename the label, description and align the field with the name and description of the feature - Add an 'OK' button in the 'download our app' modal - Render the frequency field properly in the employee/manager reminders setting on mobile view - In configure your services link: change the name of the action to "Services" - Display the following options in the community, with the usual 'Enterprise' tag: Round Timesheet, Employee/Manager reminder, Invoicing Policy Task-Id: 2531338 PR: #20182
Field service task costs now use the task's own analytic account first, falling back to the project account when needed. This improves accounting accuracy for task-level profitability and removes an unnecessary customization around sales order line mapping.
Original PR description
Previously, all costs allocated to a task were associated, if set, to the analytic account of their project. Prior to this PR, the sale order line in the project employee mapping was redefined to remove the required option. With this PR, we now use the analytic account of the task and then the one defined on the project (using the computed field which makes the computation). It removes the override since the field is already defined as not required in its first definition. PR community: odoo/odoo#70527 PR upgrade: odoo/upgrade#2616 task-2458135
The event form now places the Registration Desk shortcut beside the Attendees shortcut. This makes the event screen more intuitive and keeps related event check-in actions grouped together regardless of module installation order.
Original PR description
PURPOSE The 'Registration Desk' stat button should be appear next to 'Attendees' stat button. The purpose of this commit is to re-arrange 'Registration Desk' stat button and set it after the 'Attendees' stat button. SPECIFICATIONS Currently, if the event_barcode module is installed, the 'Registration Desk' stat button is placed after 'Leads' stat button on the event form view. This improves the inheritance priority and the x-path of the 'Registration Desk' stat button by placing it after the 'Attendees' stat button. This is the goal of this commit. LINKS PR #20082 TaskID-2585998
Barcode scanning is updated to use standard browser camera and barcode detection capabilities instead of relying mainly on native mobile app functions. This makes the experience more consistent across supported devices, while also moving small-screen web behavior into the enterprise web module and using Odoo notifications and device vibration where available.
Original PR description
This PR aims at replacing as much mobile app's native APIs (cf. `mobile.methods`) by their equivalent Web APIs. More specifically, it targets the barcode scanning feature by using the device's camera…
This PR aims at replacing as much mobile app's native APIs (cf. `mobile.methods`) by their equivalent Web APIs. More specifically, it targets the barcode scanning feature by using the device's camera through `getUserMedia`and Shape Detection API (or a lightweight polyfill, depending on the browser support). In this process, some other methods like `vibrate` or `showToast` are also replaced by, respectively, their Web equivalent or the Odoo notification system. Finally, this PR is the opportunity to refocus the `web_mobile` module's content to its primary purpose: provide support for the native mobile apps (leaving the responsive part to `web_enterprise`). Note: this feature requires a secureContext (aka. HTTPS) to be available. References: - https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector - https://github.com/zxing-js/library - https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia Task ID: 2583914 Co-authored-by: Romeo Fragomeli <rfr@odoo.com> Co-authored-by: Pierre Paridans <app@odoo.com>
Barcode picking screens now show extra kit bill of materials information when a purchased kit product is split into its component items. This helps warehouse users understand why component lines appear and improves visibility during stock handling, with a related update to product form availability buttons in rental sales.
Original PR description
Whenever there is a kit bom for a product, we consider this product a kit product. When purchase a kit product, it will be decomposed in the picking. In barcode operation, we add a new line to show the bom info when the product is coming from a kits.
This update improves how several Odoo Enterprise screens work on mobile devices, especially control panels and reporting views. It also updates spreadsheet pivot reporting foundations so business data views remain reliable after the newer interface changes.
The accounting report test suite was updated to stay aligned with recent related changes in the main Odoo codebase. This helps ensure tax and point-of-sale accounting reports continue to be validated reliably without introducing direct user-facing behavior changes.
Original PR description
Task: 2453325
Users who can view but not edit documents can now open spreadsheets without hitting an access error. The interface clearly limits editing tools while still allowing safe changes to existing filter values, making shared spreadsheets easier to use for read-only users.
Original PR description
task [2572290]( https://www.odoo.com/web#cids=1&id=2572290&menu_id=4720&model=project.task )