Thursday, October 10, 2024
4 changes · master
Enhancements to existing features
This update standardizes the JavaScript code style across barcode-related inventory, manufacturing, batch picking, subcontracting, lookup, quality control, and expiry modules. It is an internal maintenance change that should make future development and reviews easier without changing day-to-day user workflows.
Original PR description
*: stock_barcode_mrp, stock_barcode_mrp_subcontracting, stock_barcode_picking_batch, stock_barcode_barcodelookup, stock_barcode_quality_control, stock_barcode_quality_control_picking_batch, stock_barcode_quality_mrp Following the community PR odoo/odoo#182955 , made all needed changes to follow eslint rules.
Several Odoo apps were updated to stop using an outdated window-opening option. Users should see the same practical behavior, while the system stays aligned with the latest platform standard.
Original PR description
In https://github.com/odoo/odoo/pull/182800, the selection value "inline" for the field "target" of "ir.actions.act_window" has been removed. Here we remove that value in some actions that used it. The default target "current" will be used for those actions with a similar result. Task ID: 3245566
Planning screens now use a direct user check to decide when certain buttons or elements should be shown. This simplifies the underlying setup without changing the intended user experience, making the feature easier to maintain.
Original PR description
Previous Implementation: The is_assigned_to_me field was initially created to control the visibility of certain elements (mostly buttons) in planning slot views, using it within the invisible domain. Refactor: This commit replaces the usage of the is_assigned_to_me field with a condition that directly compares user_id with uid. This change streamlines the logic for making elements invisible. task : 4073484
Project managers can now see the critical path directly in the Gantt view, highlighting the sequence of dependent tasks that must stay on schedule. This helps teams focus attention on the work that most affects the overall project deadline.
Original PR description
Purpose ======= The critical path shows those tasks that must be completed on time. It is the longest chain of tasks between the start and end dates of your project that cannot be compromised. It helps to know what sequence of tasks requires special attention, and how much it takes to complete your project on time. Implementation ============== The critical path is the longest path of dependent tasks of a given project. This commit introduces: - Backend methods to get the critical path of a group of tasks (based on a domain) - Frontend methods to display the critical path of a project in the Gantt view - Testing for those methods task-3391988