David
13f4be25aa
[FIX] web_advanced_search: search more filters
...
TT44025
2023-10-10 18:01:54 +02:00
David
09d55f0a35
[FIX] web_advanced_search: recover support for m2m and o2m custom filter
...
TT44862
2023-09-04 17:16:56 +02:00
Raf Ven
c7fc1b6ee1
[FIX] web_advanced_search - Prevent closure dropdown
...
An error selecting many2one fields in the Custom filter.
When select to add a field "is equal to" and adding an extra condition like the first one, the filter disappears!
2023-05-23 08:44:27 +02:00
hanamanth.gollar
c77f504757
[MIG] web_advanced_search: Migration to 16.0
2023-04-27 16:45:43 +02:00
Víctor Martínez
dbaebcacbf
[FIX] web_advanced_search: Prevent error in many2one fields
2023-03-07 14:46:00 +01:00
Ivàn Todorovich
f6997d5759
[FIX] web_advanced_search: Implement 'Add Advanced Filter' for owl widgets (pivot, graph)
...
Steps to reproduce:
1. Go to any Pivot or Graph view.
2. Open the filter menu.
Result:
'Add Advanced Filter' option is not there
2023-03-07 14:46:00 +01:00
Ivàn Todorovich
e3d1f7c2dc
[FIX] web_advanced_search: Implement 'Add Custom Filter' for owl widgets (pivot, graph)
...
Steps to reproduce:
1. Go to any Pivot or Graph view.
2. Add a custom filter, for example, Company.
3. Use the "is equal to" operator.
Result:
Uncaught Promise > Cannot find the definition of component "RecordPicker"
2023-03-07 14:46:00 +01:00
Ivàn Todorovich
919291ea6f
[IMP] web_advanced_search: Move legacy widget overrides to specific folder
2023-03-07 14:46:00 +01:00
Ivàn Todorovich
08bd431f11
[MIG] web_advanced_search: Migration to 15.0
2023-03-07 14:46:00 +01:00
Ivàn Todorovich
1458e515e3
[IMP] web_advanced_search: pre-commit execution
2023-03-07 14:46:00 +01:00
Jeroen Evens
1ce7dbadfa
[FIX] fix issue with company-dependent m2x fields when strings are used in domain instead of ids
...
re-add copyright
2023-03-07 14:46:00 +01:00
Raf Ven
6814ced9c9
[14.0] [FIX] web_advanced_search: Many2one selection on Filters missing
2023-03-07 14:46:00 +01:00
Raf Ven
f280781c57
[MIG] web_advanced_search: Migration to 14.0
2023-03-07 14:46:00 +01:00
Raf Ven
87bfe75358
[IMP] web_advanced_search: black, isort
2023-03-07 14:46:00 +01:00
Alexandre D. Díaz
bfdc490a07
[IMP] web_advanced_search: Don't block modal filter menu
2023-03-07 14:46:00 +01:00
Alexandre D. Díaz
72aa5c2a97
[IMP] web_advanced_search: Prevent the menu from closing when using a relational field
2023-03-07 14:46:00 +01:00
Alexandre Díaz
d2f5741a1c
[FIX] web_advanced_search: Change management of relational fields
2023-03-07 14:46:00 +01:00
Alexandre Díaz
75322090b3
[IMP] web_advanced_search: Restore debug mode
2023-03-07 14:46:00 +01:00
Alexandre Díaz
b6f2e736bb
[MIG] web_advance_search: Migration to 13.0
2023-03-07 14:46:00 +01:00
Alexandre Díaz
9b40da4aeb
[IMP] web_advanced_search: black, isort
2023-03-07 14:46:00 +01:00
sbejaoui
6e115eacf5
[FIX] - advanced search, combination of several OR operators
...
There is a problem when converting a domain object to an array.
in the case of a combination of several OR operators, the retroconversion into an array
from the domain object is not equal to the original array used for initialization.
The problem can be related to the initialization of the domain object or to the
conversion to an array, but in any case, it is out of this PR scope.
The humanDomain needs an array domain, which mean that the conversion and the
retro-conversion are useless in this case.
2023-03-07 14:45:59 +01:00
tarteo
a2a9cd24a9
[IMP] web_advanced_search: contains search
2023-03-07 14:45:59 +01:00
Jairo Llopis
2cc975aac0
[MIG] web_advanced_search: Migrate to v12
2023-03-07 14:45:59 +01:00
Jairo Llopis
74995bcba4
[FIX] web_advanced_search: Ignore field domain
...
If we honor the domain value, the user may not be getting all available
records when selecting from an x2many dropdown, or even worse, if the
domain references another field in the view, the user may be getting
an error when opening the field dropdown, like this:
Error: NameError: name 'company_id' is not defined
http://localhost/web/static/lib/py.js/lib/py.js:370
Rastreo de error:
PY_ensurepy@http://localhost/web/static/lib/py.js/lib/py.js:370:19
py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1340:20
py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1397:35
py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1409:34
py.eval@http://localhost/web/static/lib/py.js/lib/py.js:1453:16
eval_domains/<@http://localhost/web/static/src/js/core/pyeval.js:886:39
_.forEach@http://localhost/web/static/lib/underscore/underscore.js:145:9
_.mixin/</_.prototype[name]@http://localhost/web/static/lib/underscore/underscore.js:1484:29
eval_domains@http://localhost/web/static/src/js/core/pyeval.js:877:16
pyeval@http://localhost/web/static/src/js/core/pyeval.js:988:16
stringToArray@http://localhost/web/static/src/js/core/domain.js:243:16
_getDomain@http://localhost/web/static/src/js/views/basic/basic_model.js:3004:24
_search@http://localhost/web_m2x_options/static/src/js/form.js:139:26
source@http://localhost/web/static/src/js/fields/relational_fields.js:198:17
_search@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:6823:3
$.widget/</proxiedPrototype[prop]</<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:415:19
search@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:6815:10
$.widget/</proxiedPrototype[prop]</<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:415:19
$.widget.bridge/$.fn[name]/<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:508:19
each@http://localhost/web/static/lib/jquery/jquery.js:383:49
each@http://localhost/web/static/lib/jquery/jquery.js:136:24
$.widget.bridge/$.fn[name]@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:494:4
_onInputClick@http://localhost/web/static/src/js/fields/relational_fields.js:565:13
proxy/<@http://localhost/web/static/src/js/core/mixins.js:279:20
dispatch@http://localhost/web/static/lib/jquery/jquery.js:4640:50
add/elemData.handle@http://localhost/web/static/lib/jquery/jquery.js:4309:41
2023-03-07 14:45:59 +01:00
Simone Orsi
4ffe89bcf8
web_advanced_search: fix 1st domain node load
2023-03-07 14:45:59 +01:00
Jairo Llopis
f9ebb1b649
[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.
2023-03-07 14:45:59 +01:00
Jairo Llopis
b90fb1b7b3
[FIX] web_advanced_search: Make linter happy
2023-03-07 14:45:59 +01:00
Jairo Llopis
9a5a9d5ef5
[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
2023-03-07 14:45:59 +01:00
Jose Maria Bernet
50928c02aa
[MIG] web_advanced_search_x2x: Migration to 11.0
...
[FIX] StopPropagation when clicking in domain selector.
2023-03-07 14:45:59 +01:00
Benjamin Willig
51f535dfe0
[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
2023-03-07 14:45:59 +01:00
Jairo Llopis
4abb1b59e7
[FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x
2023-03-07 14:45:59 +01:00
ralwafaie
54496bef25
[MIG] web_advanced_search_x2x: Migrated to 10.0
...
[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
2023-03-07 14:45:59 +01:00
Jairo Llopis
0c984c5b3a
[FIX] web_advanced_search_x2x: Several things
...
* Make it good-looking
* Update known issues
* Fix templates.
* Make other operators work again
2023-03-07 14:45:59 +01:00
Holger Brunn
24dfdd0d32
inhibit closing the menu when selecting from the dropdown
2023-03-07 14:45:59 +01:00
Jairo Llopis
5a0eb15972
Adapt to v9 API.
...
- Use the new domain widget.
- Use modules system.
2023-03-07 14:45:59 +01:00
cubells
00ad98c2b1
web_advanced_search_x2x module
2023-03-07 14:45:59 +01:00
Holger Brunn
22cf47f3ad
[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
2023-03-07 14:45:59 +01:00