bzr revid: fp@tinyerp.com-20081124105749-jje3300qwmh5ilhk
This commit is contained in:
Fabien Pinckaers 2008-11-24 11:57:49 +01:00
commit 92ffde4e17
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class mrp_production_workcenter_line(osv.osv):
_description = 'Production workcenters used'
_columns = {
'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Canceled'),('done','Finished')],'Status', readonly=True),
'date_planned': fields.related('production_id', 'date_planned', string='Date Planned', type="datetime"),
'date_planned': fields.related('production_id', 'date_planned', type='datetime', string='Date Planned'),
'date_start': fields.datetime('Start Date'),
'date_finnished': fields.datetime('End Date'),
'delay': fields.float('Delay',size=128,help="This is delay between operation start and stop in this workcenter",readonly=True),

View File

@ -60,7 +60,7 @@
<field name="model">mrp.production.workcenter.line</field>
<field name="type">gantt</field>
<field name="arch" type="xml">
<gantt type="gantt" color="workcenter_id" date_delay="hour" date_start="date_planned" string="Operations">
<gantt color="workcenter_id" date_delay="hour" date_start="date_planned" string="Operations">
<level object="product.product" link="product" domain="[]">
<field name="production_id"/>
</level>