summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-04-20 10:05:09 +0200
committerDenis Ledoux <dle@odoo.com>2016-04-20 10:12:45 +0200
commit21ccf2fe1c9ed2f6e16ded5f0e5751eebfc082e2 (patch)
tree73a53330198799c2aace39002b7ebe3d796569bc /addons/web/static
parentbdfc75e613b45afcc5e9ada58f2d6c3d42b7732a (diff)
[FIX] stock: remove spaces surrounding the `/` in locations complete name
The location name get is computed as: `parent.name + '/' + child.name` While, the complete was computed as: `parent.name + ' / ' + child.name` This leaded to an obvious inconsistency. Besides, this prevented to use the `location` filter in the search of the products list to know the quantity available of products for a specifc location, as the domain used to retrieve the locations is set as `[('complete_name','ilike',context['location'])]` `context['location']` containing the content of the `name_get` (No spaces surrounding `/`) and `complete_name` surrounding `/` with spaces. opw-674378
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions