summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-11-08 14:55:33 +0100
committerSimon Lejeune <sle@openerp.com>2017-11-14 17:39:08 +0100
commit7a4ab354be4d40babde4d395b340d1c40256d0b2 (patch)
tree7c905ef9e18f21dc93644b619d736b1fa25cd92c /addons/web/static/src/js/views/basic/basic_model.js
parent48f4ce4afa1a213cf5e66d1f34f4f2ee4351b2e5 (diff)
[FIX] stock_account: in or out move consideration
Only looking on the stock move to determine if a move should create accounting entries is not enough: it is possible that sublocations implement some strategies that impact the valuation (example: a move between stock and stock where the move lines move things to a scrapped location). We now look on the move line and if any of the move lines is IN, the move is IN, if any of the move line is OUT, the move is OUT, if there's a mix, the move is invalid.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions