diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-05-15 15:24:50 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-06-10 20:42:56 +0000 |
| commit | 8d21d0f888ccedbf20cf181ec179a934982fbbe6 (patch) | |
| tree | 5e862d175c938ce12da92c3eb4ee785f4bd9ad2c /addons/web/static/src/js/fields | |
| parent | 168f4d75ef724ee99ffaf7884730facd8ed936bb (diff) | |
[REF] stock_account: fifo "normal" cost method with valuation layers
We don't implement fifo negative handling in this commit.
We make sure we run fifo in average mode to get a proper remaining_qty
field.
`_run_fifo` is now a method on product (since it could be user outside
of a stock move context). It is really similar to its ancestor on the
stock move, with a few float_is_zero and compare more and a missing
remaing_value.
We move the valuation sanity check into a proper helper,
_sanity_check_for_valuation.
We complete the _create_correction_svl method with accounting entries.
task-1875873
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
