[IMP] stock: set move_stock_return_history blank in copy method

bzr revid: sbh@tinyerp.com-20100810133050-rf3pvcptnqvber21
This commit is contained in:
sbh (Open ERP)
2010-08-10 19:00:50 +05:30
parent 8463fba8bc
commit 16eec042bc
+1
View File
@@ -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):