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

  1. # -*- coding: utf-8 -*-
  2. # © 2018 Iván Todorovich <ivan.todorovich@gmail.com>
  3. # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
  4. from openerp import fields, models
  5. class TileCategory(models.Model):
  6. _name = 'tile.category'
  7. _description = 'Dashboard Tile Category'
  8. _order = 'sequence asc'
  9. name = fields.Char(required=True)
  10. sequence = fields.Integer(
  11. help="Used to order the tile categories",
  12. default=0)
  13. fold = fields.Boolean('Folded by default')