e013c8613ca68b0323749ab873ebcbe2de61152f
Steps to reproduce: 1) Create loyalty program with default settings (10% discount on all orders above $50) 2) Create quotation with amount >50, all products must be invoiceable on delivered quantity, not ordered quantity 3) Add promotion with 'Promotions' button 4) Confirm order 5) Order has invoice status 'Nothing to invoice' 6) Add shipping 7) Order now has invoice status 'To invoice' An order with shipping and no promo, or no promo with shipping, would in both cases have nothing to invoice as long as the 'real' products are not delivered. But when you have both a promo and delivery line, the order is 'to invoice'. The '_compute_invoice_status' methods of sale.order in the delivery and sale_loyalty modules are not compatible, as the delivery compute filters out delivery but not reward lines. OPW-3357289 closes odoo/odoo#139014 X-original-commit: 201a4fc7144935947cd2909e4830a666bbdac02d Signed-off-by: Vallaeys Valentin (vava) <vava@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%