[IMP] color setting is now done using, 'web_widget_color' module;

[REM] old behaviour with random colour;
[ADD] Migration script between v 0.4 and v 1.0;
This commit is contained in:
Sylvain LE GAL
2015-04-09 02:20:58 +02:00
parent e8188d80d6
commit c83923b31a
6 changed files with 66 additions and 69 deletions

View File

@@ -74,14 +74,16 @@ class tile(orm.Model):
'active': fields.function(
_get_tile_info, type='boolean', string='Active',
multi='tile_info', readonly=True, fnct_search=_search_active),
'color': fields.char('Kanban Color'),
'color': fields.char('Background color'),
'font_color': fields.char('Font Color'),
'sequence': fields.integer(
'Sequence', required=True),
}
_defaults = {
'domain': '[]',
'color': 0,
'color': '#0E6C7E',
'font_color': '#FFFFFF',
'sequence': 0,
}