Commit Graph

68 Commits (115ca7058eca57b7965e0787bba8eedf8f47d37c)

Author SHA1 Message Date
Eugeni Chafer 742efb21d1 Translated using Weblate (Catalan)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-14.0/web-14.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_advanced_search/ca/
2023-11-21 18:33:33 +00:00
Eugeni Chafer 3bff93394f Added translation using Weblate (Catalan) 2023-11-21 15:41:11 +00:00
Weblate d303a1f403 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-14.0/web-14.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_advanced_search/
2023-10-09 19:26:37 +00:00
OCA-git-bot 80faf8d8af [UPD] README.rst 2023-09-03 17:54:58 +00:00
KKamaa 9bd63dd24a [FIX] isort, prettier, black: JS lint in all affect modules 2022-08-30 09:53:48 +03:00
Alessandro Fiorino 94122128b4 Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-14.0/web-14.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_advanced_search/it/
2021-10-03 00:43:56 +00:00
Alessandro Fiorino aa00269e4e Added translation using Weblate (Italian) 2021-10-02 22:39:34 +00:00
OCA-git-bot 910803c7bc web_advanced_search 14.0.1.0.1 2021-09-22 07:30:04 +00:00
OCA-git-bot 4fd89dea93 Merge PR #2003 into 14.0
Signed-off-by pedrobaeza
2021-09-22 07:21:04 +00:00
Jeroen Evens 16b5319adf [FIX] fix issue with company-dependent m2x fields when strings are used in domain instead of ids
re-add copyright
2021-08-17 16:34:39 +02:00
Raf Ven e8ce8548c5 [14.0] [FIX] web_advanced_search: Many2one selection on Filters missing 2021-08-11 14:37:21 +02:00
oca-travis 9838451b10 [UPD] Update web_advanced_search.pot 2021-04-29 12:21:53 +00:00
Raf Ven 1cff3dfe58 [MIG] web_advanced_search: Migration to 14.0 2021-04-29 09:10:13 +02:00
Raf Ven fd55007bfc [IMP] web_advanced_search: black, isort 2021-04-28 14:43:43 +02:00
Dennis Sluijk fe8e6f12f6 Translated using Weblate (Dutch)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-13.0/web-13.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_advanced_search/nl_NL/
2021-04-28 14:35:58 +02:00
Dennis Sluijk e70995df4a Translated using Weblate (Dutch)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-13.0/web-13.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_advanced_search/nl/
2021-04-28 14:35:58 +02:00
OCA-git-bot eaec875a1d web_advanced_search 13.0.1.0.3 2021-04-28 14:35:58 +02:00
Alexandre D. Díaz 32abbb2e0d [IMP] web_advanced_search: Don't block modal filter menu 2021-04-28 14:35:58 +02:00
Alexandre D. Díaz 2e8517f28b [IMP] web_advanced_search: Prevent the menu from closing when using a relational field 2021-04-28 14:35:58 +02:00
c2cdidier 4541363f5a Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-13.0/web-13.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_advanced_search/de/
2021-04-28 14:35:58 +02:00
OCA-git-bot 06090972a3 [UPD] README.rst 2021-04-28 14:35:58 +02:00
OCA-git-bot ca7abc20ff [UPD] README.rst 2021-04-28 14:35:58 +02:00
OCA-git-bot 5d2c10af90 web_advanced_search 13.0.1.0.2 2021-04-28 14:35:58 +02:00
Alexandre Díaz 89e8bd1562 [FIX] web_advanced_search: Change management of relational fields 2021-04-28 14:35:58 +02:00
OCA-git-bot f856c7daf5 web_advanced_search 13.0.1.0.1 2021-04-28 14:35:58 +02:00
Alexandre Díaz aa8435d3e3 [IMP] web_advanced_search: Restore debug mode 2021-04-28 14:35:58 +02:00
OCA Transbot 20125e0f64 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_advanced_search
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_advanced_search/
2021-04-28 14:35:58 +02:00
oca-travis 100d9ab93f [UPD] Update web_advanced_search.pot 2021-04-28 14:35:58 +02:00
Alexandre Díaz fdbc023081 [MIG] web_advance_search: Migration to 13.0 2021-04-28 14:35:58 +02:00
Alexandre Díaz 2ade029763 [IMP] web_advanced_search: black, isort 2021-04-28 14:35:58 +02:00
OCA-git-bot eb9678e71d web_advanced_search 12.0.1.0.2 2021-04-28 14:35:58 +02:00
sbejaoui 746aa6b607 [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.
2021-04-28 14:35:58 +02:00
OCA-git-bot 94e233c49d [UPD] README.rst 2021-04-28 14:35:58 +02:00
tarteo f9cf0baf75 [IMP] web_advanced_search: contains search 2021-04-28 14:35:58 +02:00
Bole 0d2724d001 Translated using Weblate (Croatian)
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/hr/
2021-04-28 14:35:58 +02:00
黎伟杰 8205f5288b Translated using Weblate (Chinese (Simplified))
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/zh_CN/
2021-04-28 14:35:58 +02:00
黎伟杰 d55eec484a Added translation using Weblate (Chinese (Simplified)) 2021-04-28 14:35:58 +02:00
Rodrigo Macedo 6bb4cba7dd Translated using Weblate (Portuguese (Brazil))
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_BR/
2021-04-28 14:35:58 +02:00
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