[FIX] work order orders

bzr revid: fp@tinyerp.com-20090610100855-95oapnluuq3c1s3t
This commit is contained in:
Fabien Pinckaers
2009-06-10 12:08:55 +02:00
parent d966fb51a0
commit cb0c57f33b
+1
View File
@@ -68,6 +68,7 @@ class mrp_production_workcenter_line(osv.osv):
res[op.id] = op.date_planned
return res
_inherit = 'mrp.production.workcenter.line'
_order = "sequence, date_planned"
_columns = {
'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Canceled'),('done','Finished')],'Status', readonly=True),
'date_start_date': fields.function(_get_date_date, method=True, string='Start Date', type='date'),