de027b6e2b2e6c1a357c99a2f47cd1f6cf664087
This deals with a bug when an expense re-invoiced with a 'sale_price' expense_policy and 'delivery' invoice_policy Current bad behaviour: - When re-invoicing another expense matching the first one's price_unit and product the quantities aren't updated properly - Furthermore, reversing the original move doesn't impact the sale order - Resetting the expense sheet to draft neither New correct behaviour: - When re-invoicing another expense matching the first one's they aren't grouped together on the same line, allowing to update and reverse the lines independently - Reversing the original move sets its corresponding sale order line quantity and delivered quantity to 0 - Resetting the expense sheet to draft does the same - Resetting the original move does the same - Adds clarity to the sale_stock error message, so it's understandable from the expense view task-3458826 Part-of: odoo/odoo#147123
…
…
…
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%