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:
00629a4
)
[FIX] stock : Error when selecting internal for shipping type, following fields are...
author
Divyesh Makwana (Open ERP)
<mdi@tinyerp.com>
Wed, 26 Sep 2012 11:42:17 +0000
(17:12 +0530)
committer
Divyesh Makwana (Open ERP)
<mdi@tinyerp.com>
Wed, 26 Sep 2012 11:42:17 +0000
(17:12 +0530)
bzr revid: mdi@tinyerp.com-
20120926114217
-70avgduo0px5x2yj
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
8743834
..
0a2d332
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-1950,6
+1950,9
@@
class stock_move(osv.osv):
elif type == 'out':
location_source_id = 'stock_location_stock'
location_dest_id = 'stock_location_customers'
+ elif type == 'internal':
+ location_source_id = 'stock_location_stock'
+ location_dest_id = 'stock_location_stock'
if location_source_id:
try:
location_model, location_source_id = mod_obj.get_object_reference(cr, uid, 'stock', location_source_id)