a8bc2933090b078d55695332e4e68cfde5d75087
Problem: Discount lines are not reflected on invoices when the invoice policy is set to delivered quantities. Loyalty products' invoice policy should be defaulted to invoice on ordered quantities. Thus, if the default is set to invoice on delivered quantities for all products, loyalty products are incorrectly defaulted to invoice on delivered. This feature was removed when loyalty programs was refactored, refer to commit: https://github.com/odoo/odoo/commit/71499bbd23c0e94ffd9b7f82f9d28a5afe045197 Solution: Initialize the loyalty product to have its invoice policy to be on ordered quantities. Steps to Reproduce: Navigate to Sales > Configuration > Settings > Pricing and ensure the Discounts, Loyalty & Gift Card check box is checked Navigate to Sales > Configuration > Settings > Invoicing and set the invoicing policy to Invoice what is delivered Navigate to Sales > Products > Discount and Loyalty Create a new promotion that is available on Sales. Make sure the conditional rules is if minimum $50.00 spent and the rewards is 10.00% discount on your order (which should be set as the defaults) Navigate to Sales and create a new quotation Add a product that costs more than $50 and then click on PROMOTIONS and apply the promotion that was just created and confirm the sale order Navigate to the delivery by clicking on the delivery smart button and click on validate Navigate back to the sales order and click on CREATE INVOICE Then click on CREATE AND VIEW INVOICE You should see the issue that the promotion is not applied on the invoice opw-3582958 closes odoo/odoo#150263 X-original-commit: 9e5b6a48473b344a530f18f1e58121b40328bff3 Signed-off-by: Morgane Demesmaeker <edm@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%