diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-02-27 14:57:18 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-03-05 16:16:05 +0100 |
| commit | 6bcf9ac2ee3a52c9f0977d8cb4f4bf2cefe4ad70 (patch) | |
| tree | f4aefd74bac7ce651791c30f401983efc1cfae0f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 476b45eb9cec59c24f330ec7e784feaeca26f0ae (diff) | |
[FIX] stock_account, sale_stock, stock_dropshipping: dropshipping valuation
Following the previous fixes in stock where we had to handle non-valued
move lines inside a valued move, the valuation of the dropshipping was
bypassed because a dropshipping move is not an in move, nor an out move.
We now value the dropshipping move always positively. We adapt the
sale_stock code that generate the anglo saxon entry to use the abs value
of the move, not -1 * value. It was done this way because all out moves
are negative.
We add 8 tests to test all the valuation cases: continental or anglo
saxon, ordered or delivered, fifo or standard.
opw-1817363
fixes #23214
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
