summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Seinlet <nse@openerp.com>2017-12-12 10:16:11 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2017-12-12 13:15:47 +0100
commiteb36f427292e7f0777d3da0093be51b9f56ca14c (patch)
tree5b20dc4dd7e9c9dd156ef62a6141ceb32e833f11 /addons/web/static/src/js/views/basic/basic_model.js
parent2720eb84eeeb9fe4b41ef81bd505c4f2857c416d (diff)
[FIX] stock: complete_name of stock location
Have the following location structure: Loc A -> Loc B -> Loc C The `complete_name` fields are: - Loc A - Loc A/Loc B - Loc A/Loc B/Loc C When changing Loc A to Loc D, the `complete_name` are: - Loc D - Loc D/Loc B - Loc A/Loc B/Loc C Compute `complete_name` of stock location using `complete_name` of parent instead of parsing the full bunch of ancestors. This improves the computation speed, and moreover solves the recursivity problem. Closes #21585
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions