Guewen Baconnier
461a37ade6
web_tree_dynamic_colored_field: correct options examples in readme
7 years ago
Guewen Baconnier
71fd048442
web_tree_dynamic_colored_field: Assume that color may not start with 'color_field'
The index at 0 in the following code:
var colorField = this.arch.attrs.colors.split(';')
.filter(color => color.trim().startsWith('color_field'))[0]
Was failing on such valid xml:
<tree string="Buffer monitor"
colors="red:procure_recommended_qty > 0">
7 years ago
Guewen Baconnier
8ff099f234
web_tree_dynamic_colored_field: Parse field options with pyeval
The options in <field> attributes are parsed as python expressions:
d18976d748/addons/web/static/src/js/services/data_manager.js (L273)
And the options in <button> are parsed as json...
d18976d748/addons/web/static/src/js/services/data_manager.js (L411)
This code only support the <field> element because I'm not sure there
is a use for the <button> element.
7 years ago
Artem Kostyuk
c5f86b1c23
[MIG] web_tree_dynamic_colored_field: Migration to 11.0
7 years ago
OCA Transbot
6e05aa7e18
OCA Transbot updated translations from Transifex
8 years ago
jesusVMayor
040e66be72
Migration of web_tree_dynamic_colored_field to 10.0
8 years ago
Holger Brunn
e8706b1e27
web_tree_dynamic_colored_field v9
demo view
8 years ago
OCA Transbot
49afbd25ff
OCA Transbot updated translations from Transifex
9 years ago
Holger Brunn
e4e27d4adb
delete unused code, move files to standard locations
support color_field attribute
update manifest
higher version number bump
typo
9 years ago
Damien Crier
7f504a1b22
[IMP] rename module to 'web_tree_dynamic_colored_field'
9 years ago
oca-travis
e4e84f1eec
[UPD] Update web_searchbar_full_width.pot
6 years ago
OCA-git-bot
7fbe6f8370
[ADD] setup.py
6 years ago
Pedro M. Baeza
9b2e6d6ed2
Merge pull request #1218 from bizzappdev/12.0-mig-web_searchbar_full_width-krj-bizz
[12.0][Mig] web_searchbar_full_width
6 years ago
Krushndevsinh Jadeja
9eefaf9f06
[MIG][ADD][IMP] web_searchbar_full_width: migrated module to odoo v12
6 years ago
oca-travis
bd3474228d
[UPD] Update web_searchbar_full_width.pot
7 years ago
Carlos
6d2f53bb14
[MIG] web_searchbar_full_width: Migration to 11.0
7 years ago
Siddharth Bhalgami
e0b4de6dcc
[10.0-MIG] web_searchbar_full_width for v10.0
8 years ago
Siddharth Bhalgami
15796f51f1
[MIG] web_searchbar_full_width : migrate to v9.0
9 years ago
Holger Brunn
aaa4712734
add web_searchbar_full_width
10 years ago
oca-travis
1ae7d2193b
[UPD] Update web_edit_user_filter.pot
6 years ago
tarteo
f896370204
[FIX] web_edit_user_filter: Custom filters
6 years ago
OCA Transbot
13135b31bf
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/
6 years ago
OCA Transbot
fec11cbd54
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/
6 years ago
OCA Transbot
ef1a00cb15
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: web-12.0/web-12.0-web_m2x_options
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_m2x_options/
6 years ago
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/
6 years ago
Pedro M. Baeza
0a1076d82d
Merge pull request #1204 from Tardo/pr_fix_web_disable_export_group_tests
[FIX][12.0] web_disable_export_group: Tests
6 years ago
Alexandre Díaz
7bc680b567
[FIX] Tests
6 years ago
oca-travis
cbf0981f42
[UPD] Update web_advanced_search.pot
6 years ago
OCA-git-bot
d2e4853380
[ADD] setup.py
6 years ago
Pedro M. Baeza
760a9047b2
Merge pull request #1197 from Tecnativa/12.0-web_advanced_search
[MIG] web_advanced_search: Migrate to v12
6 years ago
Jairo Llopis
dbd23a6519
[MIG] web_advanced_search: Migrate to v12
6 years ago
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
6 years ago
OCA Transbot
0fd2656a59
Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
6 years ago
Simone Orsi
7bcf38805c
web_advanced_search: fix 1st domain node load
6 years ago
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.
6 years ago
Jairo Llopis
3c76e1ac90
[FIX] web_advanced_search: Make linter happy
6 years ago
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/
6 years ago
OCA Git Bot
abba62a040
[UPD] README.rst
6 years ago
oca-travis
a69e538b13
[UPD] Update web_advanced_search.pot
6 years ago
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
6 years ago
Jose Maria Bernet
f9edba09a9
[MIG] web_advanced_search_x2x: Migration to 11.0
[FIX] StopPropagation when clicking in domain selector.
6 years ago
oca-travis
fde1d1eb2c
[UPD] Update web_advanced_search_x2x.pot
7 years ago
OCA Transbot
8b86e6d47a
OCA Transbot updated translations from Transifex
8 years ago
Benjamin Willig
0495d7ae8c
[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
7 years ago
Jairo Llopis
04af761f2b
[FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x
7 years ago
ralwafaie
54522c455d
[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
85d3f1af7a
[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
cb646ba74e
inhibit closing the menu when selecting from the dropdown
8 years ago
Jairo Llopis
ece4af9bb4
Adapt to v9 API.
- Use the new domain widget.
- Use modules system.
8 years ago
cubells
7b5740727c
web_advanced_search_x2x module
8 years ago