ce61e5fcc526f793a6f289e950bd63910e4daece
When we are selling a booth from the sale application, and have a pricelist set on the order with a discount_policy "with_discount", it needs to compute the price_reduce of the booth catgeroy to get the unit_price of the sale_order_line. As the price_reduce depends on the pricelist in the context, we need to give the pricelist in context to get the correct price. This only happen from the backend, because when we come from the frontend (website) the _get_contextual_pricelist() takes the current pricelist from the website. So we are now taking the pricelist from the sale order and pass it in the context when we need the price_reduce, which is the same behaviour as the one in 'event_sale' for event ticket. closes odoo/odoo#119893 X-original-commit: c3ec492390b27485934daabdc8e6d2771f01d933 Signed-off-by: Masereel Pierre <pim@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%