OCA-git-bot
591366f162
[UPD] README.rst
5 years ago
Adrià Gil Sorribes
a679ad9fb8
remove pyeval class and fixup
6 years ago
mreficent
7aab97208c
web_tree_dynamic_colored_field: Migration to 12.0
6 years ago
QS5ELkMu
3d8eb478c1
[FIX] Issue #906
6 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
Holger Brunn
e8706b1e27
web_tree_dynamic_colored_field v9
demo view
8 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