Add contest to domain_get call

This commit is contained in:
Cédric Krier committed 2008-11-06 15:14:55 +01:00
1 parent 4d246a93f4
commit 4a013fba9e
1 file changed
+2 -1
+2 -1
View File
@@ -154,7 +154,8 @@ class Product(OSV):
wh_to_add[location.id] = location.storage_location.id
location_ids = list(location_ids)
move_query, move_val = rule_obj.domain_get(cursor, user, 'stock.move')
move_query, move_val = rule_obj.domain_get(cursor, user, 'stock.move',
context=context)
if not context.get('stock_date_end'):
context = context.copy()