Wednesday, October 23, 2024
2 changes · saas-17.2
Resolved issues and error corrections
Branch companies can now see and apply discount and loyalty programs defined by their parent company. This fixes blocked coupon use on branch sales orders and helps companies manage promotions centrally across branches.
Original PR description
Problem: When a user is on a branch, they are unable to view the parent company's discounts and are unable to apply it to the sales orders. Purpose: The branch should have access to the discounts & loyalty programs from the parent company. Steps to Reproduce on Runbot: 1. Install sale_loyalty 2. Create a branch 3. On the branch company, observe that no discounts & loyalty programs from the parennt company are displayed 4. Attempt to apply a coupon code from a discount belonging to the parent company on a sales order and receive a ValidationError opw-4079487 closes odoo/odoo#182392 X-original-commit: 85d130302e88deb4ee8d1172d847d7ab78918418 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update prevents tests from depending on website-specific data when Appointment is used on its own. It helps keep automated checks reliable for customers or deployments that do not install the Website app.
Original PR description
When running Appointment as single app, we have to make sure that test does not use any external models like 'website.menu'. fixes runbot build error [73105](https://runbot.odoo.com/web#id=73105&menu_id=424&cids=1&action=573&model=runbot.build.error&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr