[MERGE] Merged Chris Halls' branch for copy() of production order

bzr revid: jvo@tinyerp.com-20100630184340-j6r3usia3ooazqga
This commit is contained in:
Jay (Open ERP)
2010-07-01 00:13:40 +05:30
+5 -2
View File
@@ -526,8 +526,11 @@ class mrp_production(osv.osv):
default.update({
'name': self.pool.get('ir.sequence').get(cr, uid, 'mrp.production'),
'move_lines' : [],
'move_created_ids': [],
'state': 'draft'
'move_lines2' : [],
'move_created_ids' : [],
'move_created_ids2' : [],
'product_lines' : [],
'picking_id': False
})
return super(mrp_production, self).copy(cr, uid, id, default, context)