Commit Graph

611 Commits

Author SHA1 Message Date
Jairo Llopis
ddbbe81f4e [FIX] web_m2x_options: Fix error in tree views with many2many_tags
The method `_onOpenColorPicker` is defined on `FormFieldMany2ManyTags`, not in `FieldMany2ManyTags`, so it can only be called on its descendants.

Otherwise, clicking on a `many2many_tags` tag when found in a tree view produces an error such as:

    TypeError: self._onOpenColorPicker is not a function

    http://localhost/web_m2x_options/static/src/js/form.js:354
    Rastreo de error:
    _onOpenBadge@http://localhost/web_m2x_options/static/src/js/form.js:354:17
    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-01-16 11:51:20 +00:00
Pedro M. Baeza
8d79ed75f6 Merge pull request #1152 from Tecnativa/11.0-web_advanced_search-fix_x2many
[FIX] web_advanced_search: Ignore field domain
2019-01-14 12:45:38 +01:00
Jairo Llopis
4b6a6b3114 [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-01-11 12:17:21 +00:00
oca-travis
bb217c64aa [UPD] Update web_widget_url_advanced.pot 2019-01-09 08:33:56 +00:00
OCA-git-bot
fe62b70c89 [ADD] setup.py 2019-01-09 08:16:06 +00:00
Simone Orsi
b08d26591c Merge pull request #1107 from simahawk/add-web_widget_url_advanced
[ADD] web_widget_url_advanced
2019-01-09 09:15:58 +01:00
Simone Orsi
da30f8e4b8 [ADD] web_widget_url_advanced 2019-01-08 15:27:54 +01:00
Pedro M. Baeza
24f82272b9 Merge pull request #1118 from PCatinean/11.0-fix-m2xoptions-open
[FIX] open option on many2many_tags
2019-01-08 09:40:38 +01:00
Pedro M. Baeza
45756229c8 Merge pull request #1140 from Tecnativa/11.0-fix-issue-1139-web_widget_color
web_widget_color: Fix issue #1139
2018-12-26 14:19:09 +01:00
ernesto
0df15dfd37 web_widget_color: Fix issue #1139
widget="color" not working proper in One2many field form view.
https://github.com/OCA/web/issues/1139
2018-12-25 16:16:37 -05:00
Pedro M. Baeza
1252f13294 Merge pull request #1127 from tarteo/11-fix-range-select-internal
[11.0][FIX] web_listview_range_select: Internal selection
2018-12-11 10:25:05 +01:00
tarteo
663dc5f5ac [FIX] web_listview_range_select: Internal selection
[FIX] web_listview_range_select: Internal selection
2018-12-11 09:31:56 +01:00
OCA Transbot
a65c8b57dc Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-05 14:50:18 +00:00
OCA Transbot
f4cc62f4e8 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-05 14:50:11 +00:00
OCA Transbot
63c312f3a4 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-05 14:50:03 +00:00
OCA Transbot
b97eed9eec Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-05 14:49:59 +00:00
OCA Transbot
e8dadb07b8 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-05 14:49:54 +00:00
Dennis Sluijk
b67e0fdf5d [UPD] Roadmap 2018-12-05 15:49:49 +01:00
Paul Catinean
4050acef33 [FIX] open option on many2many_tags 2018-11-29 18:33:41 +01:00
Pedro M. Baeza
899f01fd9d [FIX] web_widget_x2many_2d_matrix: Closing parenthesis 2018-11-09 18:30:23 +01:00
Simone Orsi
56dbdca5b3 Merge pull request #1014 from Eficent/11_fix_matrix_limit
[11.0][web_widget_x2many_matrix] fix issue with limit of records
2018-11-09 17:47:48 +01:00
Jordi Ballester Alomar
f230ffcfe7 web_widget_x2many_matrix: fix issue with limit of records 2018-11-09 16:50:55 +01:00
OCA-git-bot
6f8415c4e2 [UPD] README.rst 2018-10-31 22:22:05 +00:00
Pedro M. Baeza
dca8081cbd Merge pull request #1094 from simahawk/11-fix-web_advanced_search
[11.0] web_advanced_search: fix initialization of 1st domain node + add changelog
2018-10-31 23:21:56 +01:00
Simone Orsi
50bb38d386 web_advanced_search: add changelog 2018-10-31 11:58:11 +01:00
Simone Orsi
a4c3263575 web_advanced_search: fix 1st domain node load 2018-10-31 11:58:11 +01:00
oca-travis
6a90d1b0a6 [UPD] Update web_timeline.pot 2018-10-26 09:35:47 +00:00
Pedro M. Baeza
5ea07649c0 Merge pull request #1087 from tarteo/11-fix-add-events
[11.0][FIX] web_timeline: add_events call and add jsdocs
2018-10-26 11:29:43 +02:00
Luis Guzman
f508c724d5 [11] Backport web_responsive fix #873 to v11 (#1089)
* Backport fix to web_responsive

See more at: 93a3bf5a1a

* Update version

* Follow comments.

* Clean as suggested.
2018-10-24 08:12:59 +01:00
tarteo
9855f42cfd [FIX] web_timeline: calling of add_events
[FIX] web_timeline: calling of add_events
2018-10-19 16:10:50 +02:00
tarteo
086080e0da [ADD] web_timeline: JSdocs
[ADD] web_timeline: JSdocs
2018-10-19 16:10:33 +02:00
Akim Juillerat
fad3ec6c27 [11.0] web_responsive : Support sticky table headers on chrome (#1082) 2018-10-19 09:30:56 +02:00
oca-travis
d4493e16c6 [UPD] Update web_editor_background_color.pot 2018-10-16 13:45:53 +00:00
OCA-git-bot
363894cba3 [ADD] setup.py 2018-10-16 13:04:54 +00:00
OCA-git-bot
33778e6823 [UPD] README.rst 2018-10-16 13:04:54 +00:00
Pedro M. Baeza
11cc451ce7 Merge pull request #1074 from Tecnativa/11.0-web_editor_background_color
[MIG] web_editor_background_color: Migrate to v11
2018-10-16 15:04:45 +02:00
Jairo Llopis
d93b9a66b7 [MIG] web_editor_background_color: Migrate to v11
- Better JS framework usage.
- Split readme.
- Update bootstrap-colorpicker lib.
- Remove image, serve it from GitHub CDN.
2018-10-16 12:01:28 +01:00
Harald Panten
910e98f10b Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_favicon/es/
2018-10-11 22:11:14 +00:00
oca-travis
cbc2b14f02 [UPD] Update web_editor_background_color.pot 2018-10-11 10:29:50 +01:00
Jairo Llopis
8e94d9f802 [MIG][web_editor_background_color] Migrate to v10
Now it fits into upstream's color picker, just adding a new tab at the end.

All known issues have been addressed.
2018-10-11 10:29:50 +01:00
OCA Transbot
d1559453b2 OCA Transbot updated translations from Transifex 2018-10-11 10:29:50 +01:00
Jairo Llopis
a31aea7727 [ADD][web_editor_background_color] Custom background color picker (#582)
* [ADD][web_editor_background_color] Custom background color picker

This addon lets the user choose a preferred background color when editing some web content.

Works out of the box with `website` and `mass_mailing` addons, although requires none of those.

* [FIX] Avoid clicks removing dropdown menu

This happened specifically in Chrome as demonstrated in
https://github.com/OCA/web/pull/582#issuecomment-287057052.

* [FIX] Use strict equality operator.
2018-10-11 10:29:49 +01:00
Harald Panten
a7e9eb4df1 Translated using Weblate (Catalan)
Currently translated at 100,0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_favicon/ca/
2018-10-10 21:51:14 +00:00
Harald Panten
9ac453b019 Translated using Weblate (Spanish)
Currently translated at 100,0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_favicon
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_favicon/es/
2018-10-10 21:45:13 +00:00
Harald Panten
90533375a2 Added translation using Weblate (Catalan) 2018-10-10 21:33:29 +00:00
Harald Panten
1968be440d Translated using Weblate (Catalan)
Currently translated at 100,0% (13 of 13 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/ca/
2018-10-10 21:30:49 +00:00
Harald Panten
5f592ca788 Added translation using Weblate (Catalan) 2018-10-10 21:23:10 +00:00
oca-travis
4a37d53856 [UPD] Update web_send_message_popup.pot 2018-10-10 09:53:50 +00:00
OCA-git-bot
26ff48dcb0 [ADD] setup.py 2018-10-10 09:15:51 +00:00
OCA-git-bot
ca08b552e6 [UPD] README.rst 2018-10-10 09:15:51 +00:00