Commit Graph

4 Commits (83094a86cc69cfb0333c63107b12e1331b683943)

Author SHA1 Message Date
Simone Orsi 83094a86cc web_advanced_search: fix 1st domain node load 2020-03-13 18:53:40 +01:00
Jairo Llopis 6886a9bfe9 [FIX] web_advanced_search: `undefined` in x2m fields
Before this patch, when searching with the "equals to" operator in any
x2many field, the searched parameter was always `undefined`.

The problem was that the underlying field manager implementation was
treating those fields as x2many, while the widget used was the `one2many`
one.

This patch simply mocks the underlying fake record to make think that
any relational field is always a `one2many`. This sets all pieces in
place and makes the field manager work as expected, and thus you can
search as expected too.
2020-03-13 18:53:40 +01:00
Jairo Llopis 2696a04ed0 [FIX] web_advanced_search: Make linter happy 2020-03-13 18:53:40 +01:00
Jairo Llopis 80a3f86161 [MIG][REF] web_advanced_search: Rename, refactor, migrate
* Complete migration to v11
* Refactor to use the new v11 decoupled widgets system
* Advanced search is now a high-level feature from the filters menu; it simplifies code a lot, and the UX is even better
* Split README system
* Add fun to ROADMAP
* Addon is renamed to web_advanced_search, since it enhaces the searching experience for all kind of fields now
2020-03-13 18:53:40 +01:00