Thursday, October 10, 2024
5 changes
3 changes
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
2 changes
Enhancements to existing features
This update tightens the spacing in the inventory overview screens, making dashboard information fit more compactly on the page. It helps users see more stock-related information at once without changing workflows or business logic.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change adds a test setting that can introduce a delay during guided test tours, laying the groundwork for detecting inconsistent or unpredictable failures. It helps improve future test reliability, but does not change how business users use Odoo today.
Original PR description
In commit, we add an environment variable to launch a tour in which we will look for undeterministic errors. The environment variable is a delay (in seconds). You can then launch a tour with "check" parameter or set the environment variable ODOO_TOUR_DELAY to search for undeterminisms. The search for the undeterministic error in a tour is not yet implemented. This commit comes before this implementation. But here is how it will work: When the trigger of a step of a tour has been found, we wait this delay and then, we look again for the trigger in the DOM. If the element found is different from the first, then it triggers an error. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr