3
0
Fork 0
Commit Graph

13 Commits (676838fb6db0fd5bfc02b9ba7d4aea680d13035b)

Author SHA1 Message Date
Simone Orsi 676838fb6d web_advanced_search: fix 1st domain node load 2021-04-28 14:35:58 +02:00
Jairo Llopis 64bf54ef82 [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.
2021-04-28 14:35:58 +02:00
Jairo Llopis 853323752d [FIX] web_advanced_search: Make linter happy 2021-04-28 14:35:58 +02:00
Jairo Llopis bf2ae81cf3 [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
2021-04-28 14:35:58 +02:00
Jose Maria Bernet ee16a5ac66 [MIG] web_advanced_search_x2x: Migration to 11.0
[FIX] StopPropagation when clicking in domain selector.
2021-04-28 14:35:58 +02:00
Benjamin Willig 5c01520d38 [FIX] web_advanced_search: 2 fixes
* Ensure that domain field can be evaluated before creating x2x field
* Fixed navigation error after using x2x advanced search
2021-04-28 14:35:58 +02:00
Jairo Llopis 9dff16461e [FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x 2021-04-28 14:35:58 +02:00
ralwafaie 1fee02d4ba [MIG] web_advanced_search_x2x: Migrated to 10.0
[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
2021-04-28 14:35:58 +02:00
Jairo Llopis 1a733fb1e1 [FIX] web_advanced_search_x2x: Several things
* Make it good-looking
* Update known issues
* Fix templates.
* Make other operators work again
2021-04-28 14:35:58 +02:00
Holger Brunn 8fdfa141a2 inhibit closing the menu when selecting from the dropdown 2021-04-28 14:35:58 +02:00
Jairo Llopis 37b90e4a1b Adapt to v9 API.
- Use the new domain widget.
- Use modules system.
2021-04-28 14:35:58 +02:00
cubells dc6238c6c6 web_advanced_search_x2x module 2021-04-28 14:35:58 +02:00
Holger Brunn 50a88ac126 [REN] to web_advanced_search_x2x
and replace company icon

[FIX] js syntax

[FIX] move our patched equals operator to top of list

[ADD] support selecting domains on x2x fields

[FIX] eval search view's domain

[IMP] UI fixes

[IMP] reflect recent additions in README.rst

[FIX] typos

[ADD] translations

[FIX] correct js reference

[RFR] rebuild our domains in a different way

this solves timing problems
2021-04-28 14:35:58 +02:00