Added tile categories.

This commit is contained in:
Iván Todorovich
2018-02-12 22:01:35 -03:00
committed by Sylvain LE GAL
parent 2752089382
commit 481b74a0e8
8 changed files with 82 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ class TileTile(models.Model):
# Column Section
name = fields.Char(required=True)
sequence = fields.Integer(default=0, required=True)
category_id = fields.Many2one('tile.category', 'Category')
user_id = fields.Many2one('res.users', 'User')
background_color = fields.Char(default='#0E6C7E', oldname='color')
font_color = fields.Char(default='#FFFFFF')