[MERGE] Merged Chris Halls' branch for copy() of production order
bzr revid: jvo@tinyerp.com-20100630184340-j6r3usia3ooazqga
This commit is contained in:
+5
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user