diff options
| author | Jigar Vaghela <jva@odoo.com> | 2020-06-02 14:12:48 +0000 |
|---|---|---|
| committer | Ravi Gohil <rgo@odoo.com> | 2020-07-03 11:24:55 +0000 |
| commit | 12b4a24b9731df67fdaec34de8708d71336fd73c (patch) | |
| tree | 1731a2d6e3da15bf2a4963dd8b95fa17da1ea6cb /addons/web_editor/static/src/xml | |
| parent | c997700181ef89702b4f1de721b2ac12870c3eb8 (diff) | |
[FIX] stock_account/sale_stock: correctly valuate the product in below use case
Below is the case of product with automated valuation:
- You bought 8 units @ 10$.
- Then you deliver 10 units of the product.
- You assumed the missing 2 should go out at a value of 10$
but you are not sure yet as it hasn't been bought in Odoo yet.
- Afterwards, you buy missing 2 units of the same product at 12$.
In this case the product has been undervalued when delivered without stock,
the vacuum entry is the following one (this entry already takes place):
Account | Debit | Credit
===================================================
Stock Valuation | 0.00 | 4.00
Stock Interim (Delivered) | 4.00 | 0.00
So, on delivering product with different price,
We should create additional journal items like:
Account | Debit | Credit
===================================================
Stock Interim (Delivered) | 0.00 | 4.00
Expenses Revaluation | 4.00 | 0.00
closes odoo/odoo#52396
Task: 2224025
Closes: #52396
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions
