summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-04-18 08:37:59 +0000
committerWilliam Henrotin <whe@odoo.com>2019-04-18 08:37:59 +0000
commit204a673ca63792f8380c3676c351ae42ad5ed6f2 (patch)
tree233774d6f931136ddd6a8f3618286271b8299549 /addons/web/static/src/js/views/basic/basic_controller.js
parent06320be488954b8a81ada3114d12dd049f01e606 (diff)
[FIX] stock: computation of quantity on hand
On the product form view, the stat button computing the quantity on hand doesn't give the same result as the quants list triggered by this button What's displayed in the stat button of the quantity on hand ? 1 get the view location of all the warehouses 2 built the generation tree from the view locations 3 get all the quants for those locations What's displayed in the quants list of the quantity on hand ? 1 get all the quants stored in internal locations This commit share the same logic for those two views, by building the generation tree for the view location then filter on internal locations Task : 1929515 closes odoo/odoo#30501 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions