diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-02-22 16:28:19 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-02-23 10:59:57 +0100 |
| commit | 9808f952c0c653fe533b9668931f1fcf9bcd66d0 (patch) | |
| tree | e2857719e9a46d2fb308bc68907d5928f419feec /addons/web/static/src/xml/base.xml | |
| parent | d111c2fe02f731d2fb9a6fb881268876f0f74923 (diff) | |
[FIX] stock_account: unit price on stock move
To reproduce:
1. Set a product with 'Perpetual (automated)' valuation and 'Average
Price' costing method.
2. Make a PO of 2 units, unit price 100, receive the delivery
=> Cost of product is 200 / 2 = 100
3. Make a SO of 1 unit, unit price 250. Confirm the SO, but do not
deliver the product and do not create the invoice.
4. Make a PO of 1 unit, unit price 200, receive the delivery
=> Cost of product is 400 / 3 = 133.33
5. Deliver the product sold
=> A debit of 133.33 is created on the 'Stock Output Account'
6. Make a PO of 1 unit, unit price 250, receive the delivery
=> Cost of product is 516.66 / 3 = 172.22
7. Create the invoice of the SO
=> A credit of 100 is created on the 'Stock Output Account'
There is an inconsistency between entries created at steps 5 and 7. The
reason is that the price unit on the stock move is not updated when the
delivery is completed.
opw-709726
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
