69b2c8916511eea66a62de183a0aebcfa849d48b
We are in the context of anglo-saxon accounting, when selling a product having an automated valuation. The invoice linked to the `pos.order` should have its stock output line reconciled with its counterpart in the stock valuation journal. That is what happens if you create the invoice directly from point of sale. Currently, if you do not create the invoice, keep the session open and then click the "Invoice" button on the pos order, the stock output line will not be reconciled. This happens because in `action_pos_order_invoice`, the picking is created after the invoice. But the reconciliation happens when creating the invoice. As it doesn't have its valuation counterpart yet (which is created from the picking), it then do not reconcile with anything. The fix here is to create the picking before. opw-3702345 closes odoo/odoo#163157 X-original-commit: abf3f16ea6bb0278b2d44de281d69d3cfc8ac4cb Signed-off-by: Joseph Caburnay (jcb) <jcb@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%