Commit Graph

728 Commits

Author SHA1 Message Date
Pedro Castro Silva
de0d1a6fa0 Translated using Weblate (Portuguese)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-12.0/web-12.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_advanced_search/pt/
2021-04-28 14:35:58 +02:00
Pedro Castro Silva
b9a57e52d9 Added translation using Weblate (Portuguese) 2021-04-28 14:35:58 +02:00
eduardgm
ddd5d9e433 Translated using Weblate (Spanish)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-12.0/web-12.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_advanced_search/es/
2021-04-28 14:35:58 +02:00
OCA-git-bot
2702d09059 [UPD] README.rst 2021-04-28 14:35:58 +02:00
Kévin Allard
7ad3410435 Translated using Weblate (French)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-12.0/web-12.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_advanced_search/fr/
2021-04-28 14:35:58 +02:00
OCA Transbot
6d06378bd3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_advanced_search/
2021-04-28 14:35:58 +02:00
oca-travis
c492ffd2ea [UPD] Update web_advanced_search.pot 2021-04-28 14:35:58 +02:00
Jairo Llopis
1e3d18dd57 [MIG] web_advanced_search: Migrate to v12 2021-04-28 14:35:58 +02:00
Jairo Llopis
6c9e59d6d5 [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
2021-04-28 14:35:58 +02:00
OCA Transbot
87c4b9c772 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-04-28 14:35:58 +02:00
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
Hans Henrik Gabelgaard
9d85b98ef1 Added translation 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/
2021-04-28 14:35:58 +02:00
OCA Git Bot
25ed29a97b [UPD] README.rst 2021-04-28 14:35:58 +02:00
oca-travis
afbec58f9d [UPD] Update web_advanced_search.pot 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
oca-travis
64dedf2d00 [UPD] Update web_advanced_search_x2x.pot 2021-04-28 14:35:58 +02:00
OCA Transbot
f1e9cd1c81 OCA Transbot updated translations from Transifex 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
Antonio Espinosa
63b635d7b9 [IMP] web_advanced_search_x2x spanish translation
Change fitro by dominio
2021-04-28 14:35:58 +02:00
Lionel Sausin
12e114af1a [I18N] FR translation for web_advanced_search_x2x
I could not find the project on Transifex...
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
Bosd
9a18f2dc31 Translated using Weblate (Dutch)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-14.0/web-14.0-web_drop_target
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_drop_target/nl/
2021-04-22 15:47:18 +00:00
Bosd
899ebaa909 Translated using Weblate (Dutch)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl/
2021-04-22 15:47:18 +00:00
Bosd
13de60cfd3 Translated using Weblate (Dutch)
Currently translated at 33.3% (1 of 3 strings)

Translation: web-14.0/web-14.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_x2many_2d_matrix/nl_NL/
2021-04-22 15:47:17 +00:00
Bosd
c77219b206 Translated using Weblate (Dutch)
Currently translated at 75.0% (3 of 4 strings)

Translation: web-14.0/web-14.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_environment_ribbon/nl_NL/
2021-04-22 15:47:17 +00:00
Bosd
a589894782 Added translation using Weblate (Dutch) 2021-04-22 15:36:00 +00:00
Bosd
e425b53eac Added translation using Weblate (Dutch) 2021-04-22 12:44:11 +00:00
Yves Le Doeuff
8137e3bc1f Translated using Weblate (French (France))
Currently translated at 50.0% (12 of 24 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/fr_FR/
2021-04-11 18:46:34 +00:00
Yves Le Doeuff
1c79978659 Added translation using Weblate (French (France)) 2021-04-11 16:38:24 +00:00
OCA-git-bot
595a0647c9 [ADD] setup.py 2021-04-08 06:14:04 +00:00
OCA-git-bot
e6a8d9da18 [UPD] README.rst 2021-04-08 06:14:04 +00:00
OCA-git-bot
36d54c7d1c [UPD] addons table in README.md 2021-04-08 06:14:01 +00:00
oca-travis
2f5be17afe [UPD] Update web_drop_target.pot 2021-04-08 06:10:10 +00:00
OCA-git-bot
cd82d925f6 Merge PR #1892 into 14.0
Signed-off-by pedrobaeza
2021-04-08 06:06:53 +00:00
OCA-git-bot
1c9e80517d [ADD] setup.py 2021-04-07 14:39:00 +00:00
OCA-git-bot
e5ccad0373 [UPD] README.rst 2021-04-07 14:38:59 +00:00
OCA-git-bot
1bfb9341fc [UPD] addons table in README.md 2021-04-07 14:38:56 +00:00
oca-travis
ff5012b59d [UPD] Update web_tree_many2one_clickable.pot 2021-04-07 14:35:10 +00:00
OCA-git-bot
6ea4f132b9 Merge PR #1780 into 14.0
Signed-off-by StefanRijnhart
2021-04-07 14:29:17 +00:00
Víctor Martínez
3241316e6d [MIG] web_drop_target: Migration to 14.0 2021-04-07 08:08:22 +02:00
Víctor Martínez
cdf22ded32 [IMP] web_drop_target: black, isort, prettier 2021-04-06 13:00:10 +02:00