Skip to content
Snippets Groups Projects
Commit f087c522 authored by Amit Mendapara's avatar Amit Mendapara
Browse files

- Added Gantt view type

- Added simple Gantt view for project.task

bzr revid: ame@tinyerp.com-20081010123023-9cv9n21o2el4kvk0
parent ec3457c5
Branches
Tags
No related merge requests found
......@@ -231,7 +231,8 @@ class act_window_view(osv.osv):
('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."),
......
......@@ -66,7 +66,8 @@ class view(osv.osv):
('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),
......
......@@ -77,7 +77,12 @@ class wizard_model_menu_line(osv.osv_memory):
_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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment