('tree', 'Tree'),
('form', 'Form'),
('graph', 'Graph'),
- ('calendar', 'Calendar')), string='Type of view', required=True),
+ ('calendar', 'Calendar'),
+ ('gantt', 'Gantt')), string='Type of view', required=True),
'act_window_id': fields.many2one('ir.actions.act_window', 'Action', ondelete='cascade'),
'multi': fields.boolean('On multiple doc.',
help="If set to true, the action will not be displayed on the right toolbar of a form views."),
('tree','Tree'),
('form','Form'),
('graph', 'Graph'),
- ('calendar', 'Calendar')), 'View Type', required=True),
+ ('calendar', 'Calendar'),
+ ('gantt', 'Gantt')), 'View Type', required=True),
'arch': fields.text('View Architecture', required=True),
'inherit_id': fields.many2one('ir.ui.view', 'Inherited View', ondelete='cascade'),
'field_parent': fields.char('Childs Field',size=64),
_columns = {
'wizard_id': fields.many2one('wizard.ir.model.menu.create','Wizard'),
'sequence': fields.integer('Sequence'),
- 'view_type': fields.selection([('tree','Tree'),('form','Form'),('graph','Graph'),('calendar','Calendar')],'View Type',required=True),
+ 'view_type': fields.selection([
+ ('tree','Tree'),
+ ('form','Form'),
+ ('graph','Graph'),
+ ('calendar','Calendar'),
+ ('gantt','Gantt')],'View Type',required=True),
'view_id': fields.many2one('ir.ui.view', 'View'),
}
_defaults = {