summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2019-05-15 15:24:50 +0000
committerSimon Lejeune <sle@openerp.com>2019-06-10 20:42:56 +0000
commit8d21d0f888ccedbf20cf181ec179a934982fbbe6 (patch)
tree5e862d175c938ce12da92c3eb4ee785f4bd9ad2c /addons/web/static/src/js/fields/basic_fields.js
parent168f4d75ef724ee99ffaf7884730facd8ed936bb (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/basic_fields.js')
0 files changed, 0 insertions, 0 deletions