projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8463fba
)
[IMP] stock: set move_stock_return_history blank in copy method
author
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 10 Aug 2010 13:30:50 +0000
(19:00 +0530)
committer
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 10 Aug 2010 13:30:50 +0000
(19:00 +0530)
bzr revid: sbh@tinyerp.com-
20100810133050
-rf3pvcptnqvber21
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
812cd0f
..
fc37f15
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-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):