diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-04-03 17:08:03 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-04-27 14:13:09 +0200 |
| commit | b1a8cf2e270195516b2729f4c88a3db0f01b7811 (patch) | |
| tree | 2144926eaab709490708c5725880fe9221214d02 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 76824f53a29d625b0569410aec0efd1bea994c40 (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/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
