Project GTD bugfix

bzr revid: fp@tinyerp.com-00b827226cd03d9067230d3aee0abe5b077cbf40
This commit is contained in:
Fabien Pinckaers
2007-10-18 17:19:46 +00:00
parent a661b40800
commit b01e404138
+3 -3
View File
@@ -210,7 +210,7 @@ class task(osv.osv):
'sequence': fields.integer('Sequence'),
'type': fields.many2one('project.task.type', 'Type'),
'state': fields.selection([('draft', 'Draft'),('open', 'Open'),('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'State'),
'date_start': fields.date('Date Start'),
'date_start': fields.date('Date'),
'date_deadline': fields.datetime('Deadline'),
'date_close': fields.datetime('Date Closed', readonly=True),
'project_id': fields.many2one('project.project', 'Project', ondelete='cascade'),
@@ -219,8 +219,8 @@ class task(osv.osv):
'history': fields.function(_history_get, method=True, string="Task Details", type="text"),
'notes': fields.text('Notes'),
'start_sequence': fields.boolean('Wait for previous sequences'),
'planned_hours': fields.float('Planned hours'),
'effective_hours': fields.function(_hours_effect, method=True, string='Effective hours'),
'planned_hours': fields.float('Plan. hours'),
'effective_hours': fields.function(_hours_effect, method=True, string='Eff. Hours'),
'progress': fields.integer('Progress (0-100)'),
'billable': fields.boolean('To be invoiced'),
'invoice_id': fields.many2one('account.invoice','Generated Invoice'),