summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/module_data.xml
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-04-21 17:55:21 +0200
committeramoyaux <arm@odoo.com>2017-04-24 09:26:54 +0200
commit834b38a84d658f6f0dc42d32e6cd983301a70b71 (patch)
tree57cd5c6a07b3a481f1958dc8c18c23ced68e044f /odoo/addons/base/module/module_data.xml
parent07c563e075d86d79d3d989f8bd27c8e515c2df51 (diff)
[FIX] stock : traceback pivot view for stock moves
Use case when it can happens (non deterministic): - Enable product variant - Have different stock moves with the product variant - Click on the stock moves in the section reports - Switch to pivot view -> Traceback : can't find path of null This happens in the js in the function find_path_in_tree, this function try to find path for children object. There is a condition root.children[i].path[l] === path[l] (2 strings comparaison). With product variant this condition can be overpass when it should have been triggered. The product path string is represented as follow [Ref]Name(variants) -> Sometime the variants in the string do not have the same order and thus the condition is never true and the function return null instead of the correct root. This commit corrects the name_get function for product product in order to always return the variants in the same order.
Diffstat (limited to 'odoo/addons/base/module/module_data.xml')
0 files changed, 0 insertions, 0 deletions