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.

14 lines
343 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  4. from openerp import fields, models
  5. TIMELINE_VIEW = ('timeline', 'Timeline')
  6. class IrUIView(models.Model):
  7. _inherit = 'ir.ui.view'
  8. type = fields.Selection(selection_add=[TIMELINE_VIEW])