diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-08-30 22:33:56 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-09-01 11:28:43 +0200 |
| commit | 84f0e84d14ee273d199690a4ebefa7a6cd95e949 (patch) | |
| tree | 4129a48402f871295fbf13515d71aad1173357bd /addons/web | |
| parent | 83f2557d72feabf3a2f887b810ac67c2015974f2 (diff) | |
[FIX] stock_account: standard price update move done
When you change the quantity done of a done move of a product valuated
by standard price in perpetual valuation, the price used to update
create the corrective journal entry is the price unit of the move
instead of the standard price.
This behaviour leads to iconsistancy like having a empty stock and still
have a valuation on the stock valuation account.
To fix this issue, we check if we are working in standard price and use
the standard price of the product instead of the move unit price.
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
