Return dictionary when given no locations for issue1190.
(transplanted from ce2a2525700133cba8b85f5c483147f3a8ccc21e)
This commit is contained in:
1 parent
498e266b8d
commit
2472adefc3
1 file changed
+1
-1
+1
-1
@@ -135,7 +135,7 @@ class Product(OSV):
|
||||
date_obj = self.pool.get('ir.date')
|
||||
|
||||
if not location_ids:
|
||||
return []
|
||||
return {}
|
||||
if context is None:
|
||||
context= {}
|
||||
# Skip warehouse location in favor of their storage location
|
||||
|
||||
Reference in new issue
Block a user