Commit Graph

62 Commits (b2ee0ad3923bad62c4e09a42f78a923f9906e7f7)

Author SHA1 Message Date
OCA-git-bot 9bb4e7cb8f [UPD] README.rst 2020-11-10 16:38:31 +00:00
Alexey Pelykh 56bcb4017c [UPD] Brainbean Apps => CorporateHub 2020-11-04 12:55:34 +02:00
OCA Transbot bd3f72cb36 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/
2020-08-12 12:51:49 +00:00
OCA-git-bot 6532f23de4 web_advanced_search 12.0.1.1.3 2020-08-12 12:51:34 +00:00
oca-travis 5569260574 [UPD] Update web_advanced_search.pot 2020-08-12 12:45:22 +00:00
Alexandre D. Díaz 1a31f3b603 [IMP] web_advanced_search: Don't block modal filter menu 2020-08-03 20:21:55 +02:00
claudiagn fc32958e57 Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 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/
2020-07-23 14:19:48 +00:00
OCA Transbot a2ec84d45e 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/
2020-07-23 11:46:38 +00:00
OCA-git-bot 91733c48b1 web_advanced_search 12.0.1.1.2 2020-07-23 11:46:08 +00:00
oca-travis dcda400674 [UPD] Update web_advanced_search.pot 2020-07-23 11:24:23 +00:00
Alexandre D. Díaz d65904ccfe [IMP] web_advanced_search: Prevent the menu from closing when using a relational field 2020-07-22 19:15:50 +02:00
OCA-git-bot 5b099ca76c [UPD] README.rst 2020-07-14 05:30:40 +00:00
OCA-git-bot e91957559d [UPD] README.rst 2020-07-13 05:30:37 +00:00
Yann Papouin 16c744da4c Translated using Weblate (French)
Currently translated at 100.0% (3 of 3 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/
2020-07-05 16:19:40 +00:00
Pedro Castro Silva b18931f859 Translated using Weblate (Portuguese)
Currently translated at 100.0% (3 of 3 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/
2020-06-18 18:19:32 +00:00
OCA Transbot aedb8b17c3 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/
2020-04-15 14:51:23 +00:00
OCA-git-bot 092b3d9690 web_advanced_search 12.0.1.1.1 2020-04-15 14:51:00 +00:00
oca-travis 72f14a3df2 [UPD] Update web_advanced_search.pot 2020-04-15 14:42:28 +00:00
Alexandre Díaz 754eea0c46 [IMP] web_advanced_search: Debug mode 2020-04-15 16:34:15 +02:00
OCA Transbot 1fc1a7371d 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/
2020-03-23 10:23:23 +00:00
OCA-git-bot b21097acc8 web_advanced_search 12.0.1.1.0 2020-03-23 10:23:03 +00:00
OCA-git-bot 9512242666 [UPD] README.rst 2020-03-23 10:23:02 +00:00
oca-travis b81e46eff9 [UPD] Update web_advanced_search.pot 2020-03-23 10:18:30 +00:00
Alexey Pelykh e158d0b934 [IMP] web_advanced_search: support hierarchy filtering 2020-03-21 14:40:44 +01:00
OCA-git-bot 00f6cd976c web_advanced_search 12.0.1.0.2 2020-03-12 21:00:34 +00:00
sbejaoui 96d990337e [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.
2020-02-13 13:01:45 +01:00
OCA-git-bot 4d4dae1d97 [UPD] README.rst 2020-01-14 15:35:42 +00:00
tarteo ad5f45a121 [IMP] web_advanced_search: contains search 2020-01-14 16:35:26 +01:00
Bole 8ace25e202 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/
2019-11-14 10:34:42 +00:00
黎伟杰 f8a271cf63 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/
2019-09-01 12:52:13 +00:00
黎伟杰 24adbc0302 Added translation using Weblate (Chinese (Simplified)) 2019-09-01 11:28:27 +00:00
Rodrigo Macedo 0cdb08c3b5 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/
2019-08-30 15:23:39 +00:00
Pedro Castro Silva 64f71cd31c 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/
2019-08-12 11:44:24 +00:00
Pedro Castro Silva 8716ea6e0d Added translation using Weblate (Portuguese) 2019-08-12 10:37:09 +00:00
eduardgm af860b10b9 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/
2019-08-04 17:44:05 +00:00
OCA-git-bot 6df32b51c3 [UPD] README.rst 2019-07-29 03:49:00 +00:00
Kévin Allard 84563e9c32 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/
2019-05-27 13:20:05 +00:00
OCA Transbot 82f28a4cb7 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/
2019-03-03 16:18:52 +00:00
oca-travis cbf0981f42 [UPD] Update web_advanced_search.pot 2019-02-22 10:16:51 +00:00
Jairo Llopis dbd23a6519 [MIG] web_advanced_search: Migrate to v12 2019-02-22 10:22:03 +01:00
Jairo Llopis 90094d2c54 [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
2019-02-22 10:22:03 +01:00
OCA Transbot 0fd2656a59 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-02-22 10:22:03 +01:00
Simone Orsi 7bcf38805c web_advanced_search: fix 1st domain node load 2019-02-22 10:22:03 +01:00
Jairo Llopis f8274c3a19 [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.
2019-02-22 10:20:58 +01:00
Jairo Llopis 3c76e1ac90 [FIX] web_advanced_search: Make linter happy 2019-02-22 10:20:58 +01:00
Hans Henrik Gabelgaard c1b657c124 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/
2019-02-22 10:20:58 +01:00
OCA Git Bot abba62a040 [UPD] README.rst 2019-02-22 10:20:58 +01:00
oca-travis a69e538b13 [UPD] Update web_advanced_search.pot 2019-02-22 10:20:58 +01:00
Jairo Llopis 9ea11d3e75 [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
2019-02-22 10:20:58 +01:00
Jose Maria Bernet f9edba09a9 [MIG] web_advanced_search_x2x: Migration to 11.0
[FIX] StopPropagation when clicking in domain selector.
2019-02-22 10:18:21 +01:00