Thursday, August 17, 2023
6 changes · master
Enhancements to existing features
This update removes redundant JavaScript strict mode declarations from several Odoo Enterprise modules. The behavior of the applications is unchanged because Odoo already applies strict mode automatically, making the codebase cleaner and easier to maintain.
Original PR description
According to the [ECMAScript 2023 Language Specification](https://tc39.es/ecma262/2023/#sec-strict-mode-code): > Module code is always strict mode code. [Odoo Modules mimic this behavior and automatically add “use strict“ at the top of the file](https://github.com/odoo/odoo/blob/9eb5ea9746cf277f09f5258dbc276162280b275b/odoo/tools/js_transpiler.py#L104), so there's no need to do it yourself. This commit removes all the useless occurrences of use strict. \*: account_online_synchronization, knowledge, sign Community: https://github.com/odoo/odoo/pull/132235
Task planning screens are now cleaner by removing unnecessary stage-based views and grouping personal task planning by project by default. This makes it easier for users to review and organize work across projects in the Gantt view.
Original PR description
This will improve the following generic UX - remove unwanted views that use stage_id - added default groupby project in gantt view of my task task-3251648
Vehicle creation now starts in the appropriate initial stage, making the process clearer for fleet users. Contract and vehicle forms are also easier to manage, with editable vehicle details and support for property fields on vehicles and models.
Original PR description
Purpose ======= When you create a vehicle, there is no sense in adding it to the "registered column", you always start at the first stage. And this is also very subjective to create a contract for one year. Why ? In addition, the contract is empty, excepted for the date. Specification ============= - When you create a vehicle, his stage is : New Request - On the contract form view, make the vehicle's field editable, the driver is always related to the vehicle. - Allow to add property fields on vehicle and model TaskID: 3349871
Overtime generation is now better coordinated between employee attendance records, contracts, and planning schedules. This helps prevent duplicate work entries and makes overtime calculations more reliable for payroll and workforce management.
Original PR description
TaskID: 3102448
Work order start and pause actions now work more reliably when applied to several work orders at once. This helps manufacturing teams process batches of work orders more smoothly and reduces manual interruptions.
Original PR description
With this commit ================ The 'button_start' and 'button_pending' methods have been modified to accommodate multiple work orders, ensuring seamless functionality. task: 3374990 COM PR: odoo/odoo#130663
The Knowledge app now uses a newer built-in copy action for templates instead of an older clipboard library. This keeps the feature simpler to maintain while preserving the same copy-to-clipboard experience for users.
Original PR description
This commit removes the usage of ClipboardJS in the TemplateBehavior component. Instead, the CopyButton component using the native clipboard API has been used.