You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
520 B
17 lines
520 B
# -*- coding: utf-8 -*-
|
|
# © 2018 Iván Todorovich <ivan.todorovich@gmail.com>
|
|
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
|
|
|
from openerp import fields, models
|
|
|
|
|
|
class TileCategory(models.Model):
|
|
_name = 'tile.category'
|
|
_description = 'Dashboard Tile Category'
|
|
_order = 'sequence asc'
|
|
|
|
name = fields.Char(required=True)
|
|
sequence = fields.Integer(
|
|
help="Used to order the tile categories",
|
|
default=0)
|
|
fold = fields.Boolean('Folded by default')
|