14812f41710282f9923078f6764323086500ae85
The invoice status of a sale order line depends on its product's `invoice_policy` and `qty_delivered` fields. `invoice_policy` is also used to compute the "anglo saxon price unit" which is, once multipled by the invoiced quantity, the amount we will take from the stock delivered account to put into the cost of goods sold account if we are in anglo saxon mode. The default `invoice_policy` is set as "ordered". In this mode and in anglosaxon, the "anglo saxon price unit" will always be standard price of the product, resulting in unbalanced accounts. In this task, we chose to use the real delivered price if something was delivered, whatever the value of `invoice_policy`. We fallback on the standard price if nothing or not enough things were delivered. test_dropship_fifo_perpetual_anglosaxon_ordered and test_dropship_fifo_perpetual_anglosaxon_delivered do have the same result now. task-2003196 closes odoo/odoo#34644 Signed-off-by: Simon Lejeune (sle) <sle@openerp.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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%