OCA-git-bot
f8dd21fc53
web_advanced_search 15.0.1.1.0
2022-07-20 11:31:06 +00:00
Ivàn Todorovich
fbb9387d2a
[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
2022-07-19 16:04:28 -03:00
Ivàn Todorovich
7de75a9600
[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"
---
This happens because in Odoo 15.0 there are two versions of the FilterMenu and
CustomFilterItem widgets: one implemented in the legacy widget framework [^1]
and another implemented in Owl [^2].
The legacy version is used for `tree` views, for example; whilst the Owl version
is used for `pivot` and `graph` views.
Confusing as it is, before this commit only the legacy version was being overriden,
making it work for `tree` views (most common case), but not for `pivot` views.
Since both versions share the same QWeb template, though, not only it wasn't
working for `pivot`, but it also raised an Exception.
[^1]: https://github.com/odoo/odoo/blob/21a2dfd90/addons/web/static/src/legacy/js/control_panel/custom_filter_item.js#L45
[^2]: https://github.com/odoo/odoo/blob/21a2dfd90/addons/web/static/src/search/filter_menu/custom_filter_item.js#L107
2022-07-19 16:04:24 -03:00
Ivàn Todorovich
2728187b2b
[IMP] web_advanced_search: Move legacy widget overrides to specific folder
2022-07-19 16:02:27 -03:00
OCA-git-bot
71fd104bc6
[UPD] README.rst
2022-03-07 13:21:15 +00:00
oca-ci
ec6af32b05
[UPD] Update web_advanced_search.pot
2022-03-07 13:18:40 +00:00
Ivàn Todorovich
f3999c21a8
[MIG] web_advanced_search: Migration to 15.0
2022-02-22 09:42:59 -03:00
Ivàn Todorovich
386072b61b
[IMP] web_advanced_search: pre-commit execution
2022-02-21 17:41:15 -03:00
Alessandro Fiorino
53e031d676
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/
2022-02-21 17:41:01 -03:00
Alessandro Fiorino
02dd73140f
Added translation using Weblate (Italian)
2022-02-21 17:41:01 -03:00
OCA-git-bot
c5f8dcb6f5
web_advanced_search 14.0.1.0.1
2022-02-21 17:41:00 -03:00
Jeroen Evens
f564058b19
[FIX] fix issue with company-dependent m2x fields when strings are used in domain instead of ids
...
re-add copyright
2022-02-21 17:41:00 -03:00
Raf Ven
fa2d0ef54c
[14.0] [FIX] web_advanced_search: Many2one selection on Filters missing
2022-02-21 17:41:00 -03:00
oca-travis
d043e62ae7
[UPD] Update web_advanced_search.pot
2022-02-21 17:40:59 -03:00
Raf Ven
b2eb3dbac7
[MIG] web_advanced_search: Migration to 14.0
2022-02-21 17:40:59 -03:00
Raf Ven
1eca71d2b2
[IMP] web_advanced_search: black, isort
2022-02-21 17:40:58 -03:00
Dennis Sluijk
bc009c1d5f
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/
2022-02-21 17:40:58 -03:00
Dennis Sluijk
619a17d3f3
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/
2022-02-21 17:40:58 -03:00
OCA-git-bot
fd55287b9a
web_advanced_search 13.0.1.0.3
2022-02-21 17:40:57 -03:00
Alexandre D. Díaz
6c8c0c9ec5
[IMP] web_advanced_search: Don't block modal filter menu
2022-02-21 17:40:57 -03:00
Alexandre D. Díaz
7cc6c1ff2c
[IMP] web_advanced_search: Prevent the menu from closing when using a relational field
2022-02-21 17:40:56 -03:00
c2cdidier
9f56ad7548
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/
2022-02-21 17:40:56 -03:00
OCA-git-bot
f4e974ec95
[UPD] README.rst
2022-02-21 17:40:56 -03:00
OCA-git-bot
511d2a3d51
[UPD] README.rst
2022-02-21 17:40:55 -03:00
OCA-git-bot
abaa049e41
web_advanced_search 13.0.1.0.2
2022-02-21 17:40:55 -03:00
Alexandre Díaz
f267c15a0a
[FIX] web_advanced_search: Change management of relational fields
2022-02-21 17:40:54 -03:00
OCA-git-bot
871d8db881
web_advanced_search 13.0.1.0.1
2022-02-21 17:40:54 -03:00
Alexandre Díaz
18fde36cc4
[IMP] web_advanced_search: Restore debug mode
2022-02-21 17:40:53 -03:00
OCA Transbot
9e16690090
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/
2022-02-21 17:40:53 -03:00
oca-travis
75ef16f287
[UPD] Update web_advanced_search.pot
2022-02-21 17:40:52 -03:00
Alexandre Díaz
92e0b435a9
[MIG] web_advance_search: Migration to 13.0
2022-02-21 17:40:52 -03:00
Alexandre Díaz
ee83cde3e3
[IMP] web_advanced_search: black, isort
2022-02-21 17:40:52 -03:00
OCA-git-bot
03e9cb5602
web_advanced_search 12.0.1.0.2
2022-02-21 17:40:51 -03:00
sbejaoui
be906012fb
[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.
2022-02-21 17:40:51 -03:00
OCA-git-bot
5d512cfafc
[UPD] README.rst
2022-02-21 17:40:50 -03:00
tarteo
6bc0b64189
[IMP] web_advanced_search: contains search
2022-02-21 17:40:50 -03:00
Bole
10842843ae
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/
2022-02-21 17:40:50 -03:00
黎伟杰
d10eabd348
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/
2022-02-21 17:40:49 -03:00
黎伟杰
3880c4b461
Added translation using Weblate (Chinese (Simplified))
2022-02-21 17:40:49 -03:00
Rodrigo Macedo
7107072c79
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/
2022-02-21 17:40:49 -03:00
Pedro Castro Silva
43afbca279
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/
2022-02-21 17:40:48 -03:00
Pedro Castro Silva
66ab384329
Added translation using Weblate (Portuguese)
2022-02-21 17:40:48 -03:00
eduardgm
8793d05a40
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/
2022-02-21 17:40:48 -03:00
OCA-git-bot
6f90bb91a8
[UPD] README.rst
2022-02-21 17:40:47 -03:00
Kévin Allard
d290870345
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/
2022-02-21 17:40:47 -03:00
OCA Transbot
2342784dc2
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/
2022-02-21 17:40:47 -03:00
oca-travis
c5aae38e2c
[UPD] Update web_advanced_search.pot
2022-02-21 17:40:46 -03:00
Jairo Llopis
cbecd4f9a8
[MIG] web_advanced_search: Migrate to v12
2022-02-21 17:40:46 -03:00
Jairo Llopis
26d641f207
[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
2022-02-21 17:40:46 -03:00
OCA Transbot
7231d0fa88
Update translation files
...
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2022-02-21 17:40:45 -03:00