[IMP]add phases in project kanban view
bzr revid: sgo@tinyerp.com-20120328073034-e9zgq1szi2wvwafy
This commit is contained in:
@@ -226,7 +226,7 @@ class project(osv.osv):
|
||||
|
||||
_columns = {
|
||||
'phase_ids': fields.one2many('project.phase', 'project_id', "Project Phases"),
|
||||
'phase' : fields.boolean('Phase',help = "If you check this field Phases are appears in kanban view"),
|
||||
'phases' : fields.boolean('Phase',help = "If you check this field Phases are appears in kanban view"),
|
||||
'open_phases' : fields.function(_open_phase , type='integer',string="Open Phases"),
|
||||
|
||||
}
|
||||
@@ -267,6 +267,7 @@ class project(osv.osv):
|
||||
'nodestroy': True
|
||||
}
|
||||
return value
|
||||
|
||||
def schedule_phases(self, cr, uid, ids, context=None):
|
||||
context = context or {}
|
||||
if type(ids) in (long, int,):
|
||||
|
||||
Reference in New Issue
Block a user