summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-04-03 17:08:03 +0200
committerThibault Delavallée <tde@odoo.com>2017-04-27 14:13:09 +0200
commitb1a8cf2e270195516b2729f4c88a3db0f01b7811 (patch)
tree2144926eaab709490708c5725880fe9221214d02 /addons/web/static/tests/fields/basic_fields_tests.js
parent76824f53a29d625b0569410aec0efd1bea994c40 (diff)
[IMP] product: ease manipulation of categories full name
This commit proposes to store the complete name of a product category. It is formatted like parent.name / name, recursively. Storing it and using it as a rec_name allows to search products belonging to a category or its child categories without having to rely on a strange hack of name_get and name_search. Searching on products having a category containing "all" will get results from "all" category as well as "all / saleable", and so on.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions