bc27fffb2739d4d7238880b130f073bdd057a36b
Expected Behaviour When adding a shipping cost in a SO, with the shipping method being associated to a product, the price should be calculated according to the price of the product in the order's pricelist if available Observed Behaviour When adding a shipping cost related to a product, with a fixed price, the public price of the product is used instead of the price defined in the SO pricelist Reproducibility 1. Create a product "Test Shipping" with a public price of 10 2. Create a shipping method "Test Shipping" associated with the "Test Shipping" product 3. Create a pricelist "Test Pricelist", where the product "Test Product" has a cost of 15 4. Create a contact "Test Contact" associated with "Test Pricelist" 5. Create a So for the "Test Contact" with "Test Shipping" as shipping method -> Shipping cost will be 10 instead of 15. Fix Description The issue here was that the price computed by the delivery carrier didn't took into account the selected pricelist. We tried to then change it in the delivery chooser wizard, but some issue with particular case (i.e. when the shipping cost should be 0 if the SO total is bigger than X) appeared, leading us to add the fix directly in the delivery_carrier classe. Related Issues/PR - opw-2754482 closes odoo/odoo#87028 X-original-commit: bb778cd7be835706f54e9e0f342eecf3e5e4e904 Signed-off-by: Adrien Widart <awt@odoo.com> Signed-off-by: Hendrickx Anthony (anhe) <anhe@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%