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:
9f1efb5
)
[FIX] stock : return picking type corrected
author
Grzegorz Grzelak (Cirrus.pl)
<>
Tue, 27 Jul 2010 13:05:12 +0000
(18:35 +0530)
committer
vra
<vra@tinyerp.com>
Tue, 27 Jul 2010 13:05:12 +0000
(18:35 +0530)
lp bug: https://launchpad.net/bugs/588657 fixed
bzr revid: vra@tinyerp.com-
20100727130512
-6vvz94nfl2k01s2k
addons/stock/wizard/wizard_return.py
patch
|
blob
|
history
diff --git
a/addons/stock/wizard/wizard_return.py
b/addons/stock/wizard/wizard_return.py
index
64e0852
..
73b9c31
100644
(file)
--- a/
addons/stock/wizard/wizard_return.py
+++ b/
addons/stock/wizard/wizard_return.py
@@
-71,7
+71,7
@@
def _create_returns(self, cr, uid, data, context):
for move in move_obj.browse(cr, uid, data['form'].get('returns',[])):
if not new_picking:
- if pick.type=='out':
+ if pick.type in ['out','delivery']:
new_type='in'
elif pick.type=='in':
new_type='out'