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:
6eadcfc
)
[Fix] stock: validated internal stock move if no prodlot_id assing
author
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 31 Aug 2010 11:07:31 +0000
(16:37 +0530)
committer
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 31 Aug 2010 11:07:31 +0000
(16:37 +0530)
bzr revid: sbh@tinyerp.com-
20100831110731
-ss3n2hiv09z1mn06
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
43621e5
..
784070c
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-1331,6
+1331,8
@@
class stock_move(osv.osv):
@return: True or False
"""
for move in self.browse(cr, uid, ids):
+ if move.picking_id and move.picking_id.type=="internal":
+ return True
if not move.prodlot_id and \
(move.state == 'done' and \
( \