summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-07-18 13:15:15 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-07-19 06:57:23 +0000
commitc492cecfc08e0febfe354643708537c58ad74385 (patch)
treefd21a348ad05b5fc88d7031ff2e78f3251ad5e45 /addons/web/static/src/js/views/basic/basic_controller.js
parent06d305b06e4cad83f636174bc3adffe1179cc7dd (diff)
[FIX] stock: open quants in product
Before this commit, there was a different when opening the quants (the 'On Hand' button) from the product or from the product template. Only from the product template, the functions _merge_quants and _unlink_zero_quants were called. This means that when opening from the product, the quants were not merged, and the empty quants were not removed. Now, from the product or from the product template when opening the quants both functions are called. Fine-tuning of cdd5b78c63255865c923159c392202f35cb473e1 opw-2035001 closes odoo/odoo#34987 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions