-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] web_tree_dynamic_colored_field: Migration to 13.0
Use 'options' instead of 'colors' on tree views The colors attribute has been removed from the RelaxNG schema in Odoo [0], so use the 'options' instead. Closes OCA#1479 [0] odoo/odoo@7024f8d#diff-e9acd2f731cc01f302055b6e232df983
- Loading branch information
Showing
5 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
This module aims to add support for dynamically coloring fields in tree view | ||
according to data in the record. | ||
|
||
It provides attributes on fields with the similar syntax as the ``colors`` attribute | ||
It provides attributes on fields with a similar syntax as the ``colors`` attribute | ||
in tree tags. | ||
|
||
Further, it provides a ``color_field`` attribute on tree tags's ``colors`` to use | ||
Further, it provides a ``color_field`` attribute on tree tags's ``options`` to use | ||
a field's value as color. | ||
|
||
Features | ||
======== | ||
|
||
* Add attribute ``bg_color`` on field's ``options`` to color background of a cell in tree view | ||
* Add attribute ``fg_color`` on field's ``options`` to change text color of a cell in tree view | ||
* Add attribute ``color_field`` on the tree element's ``colors`` to use as color | ||
* Add attribute ``color_field`` on the tree element's ``options`` to use as color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters