Commit Graph

494 Commits

Author SHA1 Message Date
Guewen Baconnier
801bc5fcc0 web_tree_dynamic_colored_field: correct options examples in readme 2020-03-19 11:37:58 +01:00
Guewen Baconnier
c3bb0ab121 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">
2020-03-19 11:37:58 +01:00
Guewen Baconnier
67894c6ad5 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.
2020-03-19 11:37:58 +01:00
Artem Kostyuk
2fe7b1553f [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2020-03-19 11:37:58 +01:00
jesusVMayor
5f937ffee6 Migration of web_tree_dynamic_colored_field to 10.0 2020-03-19 11:37:58 +01:00
Holger Brunn
58eb0738f5 web_tree_dynamic_colored_field v9
demo view
2020-03-19 11:37:58 +01:00
Holger Brunn
ef4be297ba delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2020-03-19 11:37:58 +01:00
Damien Crier
aecb612f61 [IMP] rename module to 'web_tree_dynamic_colored_field' 2020-03-19 11:37:58 +01:00
OCA-git-bot
6bbbc3cb07 Merge PR #1550 into 13.0
Signed-off-by legalsylvain
2020-03-17 10:59:04 +00:00
Lois Rilo
ba96690bc2 freeze dependency to avoid futures issues when the library gets updated 2020-03-17 10:59:51 +01:00
OCA-git-bot
9a7a9c9248 [ADD] setup.py 2020-03-17 08:41:29 +00:00
OCA-git-bot
539fd2cee8 [ADD] icon.png 2020-03-17 08:41:29 +00:00
OCA-git-bot
9f617c513f [UPD] README.rst 2020-03-17 08:41:28 +00:00
oca-travis
f429a27d2e [UPD] Update web_widget_mpld3_chart.pot 2020-03-17 08:36:16 +00:00
OCA-git-bot
6d364c2617 Merge PR #1549 into 13.0
Signed-off-by JordiBForgeFlow
2020-03-17 08:30:44 +00:00
Adrià Gil Sorribes
705361c823 [IMP] web_widget_mpld3_chart: black, isort 2020-03-17 08:19:19 +01:00
Jordi Ballester Alomar
0404c9c077 add web_widget_mpld3_chart 2020-03-17 07:12:52 +01:00
OCA-git-bot
8a62823681 pre-commit update 2020-03-14 12:32:49 +01:00
OCA Transbot
516cc0f6f7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix/
2020-03-09 07:36:52 +00:00
OCA Transbot
9a95f92c7e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix_example
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix_example/
2020-03-09 07:36:52 +00:00
OCA-git-bot
95c04268c5 web_widget_url_advanced 13.0.1.1.0 2020-03-09 07:36:39 +00:00
OCA-git-bot
6b03c6cab6 [ADD] setup.py 2020-03-09 07:36:39 +00:00
OCA-git-bot
c395dbb074 [UPD] README.rst 2020-03-09 07:36:38 +00:00
oca-travis
c2d65118cc [UPD] Update web_widget_url_advanced.pot 2020-03-09 07:31:14 +00:00
OCA-git-bot
eaa36a86d6 Merge PR #1541 into 13.0
Signed-off-by simahawk
2020-03-09 07:25:59 +00:00
Joan Sisquella
b8d28ba8cf [IMP] Merge 'web_widget_prefixed_url' 2020-03-06 10:12:56 +01:00
Joan Sisquella
e79b46bb63 [MIG] web_widget_url_advanced: Migration to 13.0 2020-03-06 10:07:30 +01:00
Joan Sisquella
22cd93947a [IMP] web_widget_url_advanced: black, isort 2020-03-06 10:07:30 +01:00
黎伟杰
a26f32f2ce Added translation using Weblate (Chinese (Simplified)) 2020-03-06 10:07:30 +01:00
OCA-git-bot
227610390d [UPD] README.rst 2020-03-06 10:07:30 +01:00
oca-travis
65f3bd33f7 [UPD] Update web_widget_url_advanced.pot 2020-03-06 10:07:30 +01:00
Alexey Pelykh
d1f91f489a [MIG] web_widget_url_advanced: Migration to 12.0 2020-03-06 10:07:30 +01:00
oca-travis
55e884777e [UPD] Update web_widget_url_advanced.pot 2020-03-06 10:07:30 +01:00
Simone Orsi
5c268e4606 [ADD] web_widget_url_advanced 2020-03-06 10:07:30 +01:00
OCA-git-bot
d419b546ec web_widget_x2many_2d_matrix 13.0.1.1.0 2020-03-06 07:35:43 +00:00
OCA-git-bot
b4f012a81e web_widget_x2many_2d_matrix_example 13.0.1.1.0 2020-03-06 07:35:41 +00:00
OCA-git-bot
4216bcb879 [ADD] setup.py 2020-03-06 07:35:41 +00:00
OCA-git-bot
fef6fbcb12 [UPD] README.rst 2020-03-06 07:35:40 +00:00
oca-travis
b75deea8cb [UPD] Update web_widget_x2many_2d_matrix_example.pot 2020-03-06 07:30:23 +00:00
oca-travis
d5c945c965 [UPD] Update web_widget_x2many_2d_matrix.pot 2020-03-06 07:30:23 +00:00
OCA-git-bot
a7b55d8aba Merge PR #1484 into 13.0
Signed-off-by simahawk
2020-03-06 07:22:08 +00:00
Adrià Gil Sorribes
b7217ba118 [13.0][MIG] web_widget_x2many_2d_matrix_example 2020-03-05 16:59:25 +01:00
Adrià Gil Sorribes
6e6c60395e [13.0][MIG] web_widget_x2many_2d_matrix 2020-03-05 16:51:12 +01:00
Adrià Gil Sorribes
9bd27d63b0 [IMP] web_widget_x2many_2d_matrix: black, isort 2020-03-05 16:51:12 +01:00
Pablo Fuentes
333a67ca13 [FIX] web_widget_x2many_2d_matrix: Ensure lines order
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2020-03-05 08:17:01 +01:00
OCA-git-bot
b2155425cc web_widget_x2many_2d_matrix 12.0.2.2.0 2020-03-05 08:17:01 +01:00
Alexandre Díaz
ded7922ca0 [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2020-03-05 08:17:01 +01:00
OCA-git-bot
1848c59a93 web_widget_x2many_2d_matrix 12.0.2.1.0 2020-03-05 08:17:01 +01:00
OCA-git-bot
f917f2522f web_widget_x2many_2d_matrix 12.0.2.0.1 2020-03-05 08:17:01 +01:00
Pablo Fuentes
54faf1bd1b [FIX] web_widget_x2many_2d_matrix: Wrong widget
In previous versions _setSubViewLimit was defined at AbstractView widget but in v12 is defined at FormView widget
2020-03-05 08:17:01 +01:00