From f189ab5bd1e129318d99e355312e045b1170b31c Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 17 Jul 2015 11:46:50 +0200 Subject: [PATCH] [PORT][REF] change name of field; --- web_dashboard_tile/models/tile_tile.py | 2 +- web_dashboard_tile/views/tile.xml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web_dashboard_tile/models/tile_tile.py b/web_dashboard_tile/models/tile_tile.py index 3b4a2218..83a33167 100644 --- a/web_dashboard_tile/models/tile_tile.py +++ b/web_dashboard_tile/models/tile_tile.py @@ -123,7 +123,7 @@ class TileTile(Model): " ('ttype', 'in', ['float', 'int'])]") active=fields.Boolean( compute='_get_tile_info', readonly=True, search='_search_active') - color=fields.Char(default='#0E6C7E', string='Background Color') + background_color=fields.Char(default='#0E6C7E', oldname='color') font_color=fields.Char(default='#FFFFFF') sequence=fields.Integer(default=0, required=True) diff --git a/web_dashboard_tile/views/tile.xml b/web_dashboard_tile/views/tile.xml index 154efd90..f7234319 100644 --- a/web_dashboard_tile/views/tile.xml +++ b/web_dashboard_tile/views/tile.xml @@ -13,6 +13,7 @@ + @@ -30,7 +31,7 @@ - + @@ -48,14 +49,14 @@ - + -
+