diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-09-11 12:39:56 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-09-12 07:42:38 +0000 |
| commit | 0fdc914a67bc81d3b9fd64895a3808cb3b46baa7 (patch) | |
| tree | e03ff08ff8ca8ff2b5a8365b704f24e091df427a /addons/web/static/src/js/widgets | |
| parent | 9359f5b03667718be2a629c421cdfaa5764fd587 (diff) | |
[FIX] web: search panel handles archived parent category
Have a model with a parent field
Set his parents like
Parent 0
|
-- Parent 1
|
-- Parent 2
Now, put the Parent 1 as inactive
Open a view with a search panel, which will fetch the parent field as categories
Before this commit, it crashed, because the inner record memory
did not contain a reference to the parent of Parent 2
After this commit, it doesn't crash, and the search panel
just doesn't display parents categories that are archived, nor any children of those
OPW 2070266
closes odoo/odoo#36699
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions
