Wednesday, October 9, 2024
7 changes · master
Enhancements to existing features
This update reorganizes internal imports used by Odoo's module loading system to reduce dependency cycles. It helps keep the core platform easier to maintain and less prone to startup or upgrade issues, without changing business features directly.
Original PR description
When importing `odoo.modules` clean-up import cycles and add relative imports. Related to #175940 task-4083487 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update converts mobile Kanban view testing to Odoo's newer test framework. It helps maintain quality for mobile workflows while reducing internal test maintenance risk, with no expected change for end users.
Original PR description
task-4028335 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
Point of Sale order lines now record which pricelist rule was used when calculating a product price. This creates a reliable basis for future receipt display, reporting, or customization features that depend on knowing why a price was applied.
Original PR description
Currently, the applied pricelist item on an Orderline is not stored in the Point of Sale (POS) model. Proposed Change: This PR stores the applied `pricelist item` on the Orderline whenever a new price is determined for a product based on the selected `pricelist`. Doing so, we enable other modules to use this information, for example, if we want to show it on the show a distinctive mark on the Receipt whenever a specific type of pricelist item has been applied. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reduces unnecessary internal loading so Odoo only brings in tools and platform-specific code when needed. It should slightly improve startup and runtime efficiency without changing business workflows or visible features.
Original PR description
Description of the issue/feature this PR addresses: Stop importing the world task-4083487 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The web module's mobile signature test has been moved to the newer test framework. This helps keep automated checks maintainable and reliable without changing the user-facing signing experience.
Original PR description
task-4028335 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
The web module's mobile form view tests were moved to Odoo's newer testing framework. This improves maintainability and reliability of internal quality checks without changing day-to-day user behavior.
Original PR description
task-4028335 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
Upsell order pages now show discount information even when the discount is negative. This gives customers clearer, more consistent pricing details and improves related customer-facing notes.
Original PR description
**Before this PR:** Previously, in the upsell order portal view, if the discount was less than 0, the discount field was hidden. This led to confusion as users could not see the applied discounts. **After this PR:** This improvement enables the discount field to be visible for upsell orders even if the discount is negative. The change ensures that users have clearer information because all discounts, positive or negative, are displayed consistently. task-4033128 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr