Jairo Llopis
4b6a6b3114
[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
6 years ago
OCA Transbot
e8dadb07b8
Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
6 years ago
OCA-git-bot
6f8415c4e2
[UPD] README.rst
6 years ago
Simone Orsi
50bb38d386
web_advanced_search: add changelog
6 years ago
Simone Orsi
a4c3263575
web_advanced_search: fix 1st domain node load
6 years ago
Jairo Llopis
7cc961fb7b
[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.
6 years ago
Jairo Llopis
0eb4a40552
[FIX] web_advanced_search: Make linter happy
6 years ago
Pedro M. Baeza
23adda6147
[IMP] web_advanced_search: Rename manifest file
6 years ago
Hans Henrik Gabelgaard
3cbcb142db
Translated using Weblate (Danish)
Currently translated at 100,0% (1 of 1 strings)
Translation: web-11.0/web-11.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_advanced_search/da/
6 years ago
Hans Henrik Gabelgaard
e8ea42e828
Added translation using Weblate (Danish)
6 years ago
OCA Git Bot
66c656cb33
[UPD] README.rst
6 years ago
OCA Git Bot
e2f5e8eaad
[UPD] README.rst
6 years ago
oca-travis
8342713eb2
[UPD] Update web_advanced_search.pot
6 years ago
Jairo Llopis
3226b4cdf2
[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
6 years ago
Jose Maria Bernet
fa588e3494
[MIG] web_advanced_search_x2x: Migration to 11.0
[FIX] StopPropagation when clicking in domain selector.
6 years ago
oca-travis
2ac7edf130
[UPD] Update web_advanced_search_x2x.pot
6 years ago
OCA Transbot
67e39b5694
OCA Transbot updated translations from Transifex
8 years ago
Benjamin Willig
585d10f5fe
[FIX] Fixed navigation error after using x2x advanced search
7 years ago
Benjamin Willig
efd1f37161
[FIX] Ensure that domain field can be evaluated before creating x2x field
7 years ago
Jairo Llopis
646d5d091e
[FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x
7 years ago
ralwafaie
26c820a2e4
[MIG] web_advanced_search_x2x: Migrated to 10.0
[MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks
8 years ago
Jairo Llopis
0d4c24625a
[FIX] web_advanced_search_x2x: Several things
* Make it good-looking
* Update known issues
* Fix templates.
* Make other operators work again
8 years ago
Holger Brunn
2ede201e97
inhibit closing the menu when selecting from the dropdown
8 years ago
Jairo Llopis
3053b749d5
Adapt to v9 API.
- Use the new domain widget.
- Use modules system.
8 years ago
cubells
a1ff073d9f
web_advanced_search_x2x module
8 years ago
Antonio Espinosa
26e660c3ba
[IMP] web_advanced_search_x2x spanish translation
Change fitro by dominio
9 years ago
Holger Brunn
ebd3d0a3f4
[FIX] merge user context into search popup's context
fixes #175 , #177
9 years ago
Lionel Sausin
338cef5c75
[I18N] FR translation for web_advanced_search_x2x
I could not find the project on Transifex...
10 years ago
Holger Brunn
050d628489
[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
10 years ago