Commit Graph

2268 Commits (c78d73d9b14fa6ec698cf5a3cc8f1379610d994c)

Author SHA1 Message Date
OCA-git-bot 1d61efba5e [ADD] icon.png 2019-04-03 03:30:00 +00:00
mreficent 7aab97208c web_tree_dynamic_colored_field: Migration to 12.0 2019-04-02 13:54:51 +02:00
Damien Crier d3bd8e833e Update README because of wrong license
Found in this commit: 3965057913
2019-03-20 18:36:58 +01:00
QS5ELkMu 3d8eb478c1 [FIX] Issue #906 2019-03-20 18:36:58 +01:00
oca-travis 7759b6154d [UPD] Update web_tree_dynamic_colored_field.pot 2019-03-20 18:36:58 +01:00
Luis Adan 9fd8f607a6 [IMP] web_tree_dynamic_colored_field: Update README.rst (#899)
Use more than one color condition
2019-03-20 18:36:58 +01:00
Guewen Baconnier 461a37ade6 web_tree_dynamic_colored_field: correct options examples in readme 2019-03-20 18:36:58 +01:00
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 &gt; 0">
2019-03-20 18:36:58 +01:00
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.
2019-03-20 18:36:58 +01:00
Artem Kostyuk c5f86b1c23 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2019-03-20 18:36:58 +01:00
OCA Transbot 6e05aa7e18 OCA Transbot updated translations from Transifex 2019-03-20 18:36:58 +01:00
jesusVMayor 040e66be72 Migration of web_tree_dynamic_colored_field to 10.0 2019-03-20 18:36:58 +01:00
Holger Brunn e8706b1e27 web_tree_dynamic_colored_field v9
demo view
2019-03-20 18:36:58 +01:00
OCA Transbot 49afbd25ff OCA Transbot updated translations from Transifex 2019-03-20 18:36:58 +01:00
Holger Brunn e4e27d4adb delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2019-03-20 18:36:58 +01:00
Damien Crier 7f504a1b22 [IMP] rename module to 'web_tree_dynamic_colored_field' 2019-03-20 18:36:58 +01:00
oca-travis e4e84f1eec [UPD] Update web_searchbar_full_width.pot 2019-03-18 13:46:03 +00:00
OCA-git-bot 7fbe6f8370 [ADD] setup.py 2019-03-18 13:38:54 +00:00
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
2019-03-18 14:38:48 +01:00
Krushndevsinh Jadeja 9eefaf9f06 [MIG][ADD][IMP] web_searchbar_full_width: migrated module to odoo v12 2019-03-18 18:32:47 +05:30
oca-travis bd3474228d [UPD] Update web_searchbar_full_width.pot 2019-03-16 13:14:22 +05:30
Carlos 6d2f53bb14 [MIG] web_searchbar_full_width: Migration to 11.0 2019-03-16 13:14:22 +05:30
Siddharth Bhalgami e0b4de6dcc [10.0-MIG] web_searchbar_full_width for v10.0 2019-03-16 13:14:22 +05:30
Siddharth Bhalgami 15796f51f1 [MIG] web_searchbar_full_width : migrate to v9.0 2019-03-16 13:14:22 +05:30
Holger Brunn aaa4712734 add web_searchbar_full_width 2019-03-16 13:14:22 +05:30
oca-travis 1ae7d2193b [UPD] Update web_edit_user_filter.pot 2019-03-12 13:41:05 +00:00
tarteo f896370204 [FIX] web_edit_user_filter: Custom filters 2019-03-12 14:33:13 +01:00
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/
2019-03-03 16:19:17 +00:00
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/
2019-03-03 16:19:08 +00:00
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/
2019-03-03 16:18:59 +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
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
2019-02-28 16:53:09 +01:00
Alexandre Díaz 7bc680b567 [FIX] Tests 2019-02-25 17:48:48 +01:00
David Dufresne 7908c80261 Port web_search_with_and to version 12.0 2019-02-22 10:13:41 -05:00
oca-travis 0b885be5ce [UPD] Update web_search_with_and.pot 2019-02-22 08:11:23 -05:00
Francesco Apruzzese 0bb7925dd2 [MIG] web_search_with_and: Migration to 11.0 2019-02-22 08:11:23 -05:00
adrien.didenot 13eb97b196 [MIG] Migrate web_search_with_and from 8.0 to 10.0 2019-02-22 08:11:23 -05:00
Andrius Preimantas e47ca7ed6f Squash of 8 commits
Add README.rst

Too short underline for module title in README.rst

Improving module meta information

Version 1.0

W391 blank line at end of file

Remove module description because README.rst is there

web_search_with_and: Latest OCA conventions
2019-02-22 08:11:23 -05:00
oca-travis cbf0981f42 [UPD] Update web_advanced_search.pot 2019-02-22 10:16:51 +00:00
OCA-git-bot d2e4853380 [ADD] setup.py 2019-02-22 10:12:29 +00:00
Pedro M. Baeza 760a9047b2
Merge pull request #1197 from Tecnativa/12.0-web_advanced_search
[MIG] web_advanced_search: Migrate to v12
2019-02-22 11:12:22 +01: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