[IMP] stock: set move_stock_return_history blank in copy method
bzr revid: sbh@tinyerp.com-20100810133050-rf3pvcptnqvber21
This commit is contained in:
@@ -1430,6 +1430,7 @@ class stock_move(osv.osv):
|
||||
if default is None:
|
||||
default = {}
|
||||
default = default.copy()
|
||||
default['move_stock_return_history'] = []
|
||||
return super(stock_move, self).copy(cr, uid, id, default, context=context)
|
||||
|
||||
def _auto_init(self, cursor, context=None):
|
||||
|
||||
Reference in New Issue
Block a user