Add contest to domain_get call
This commit is contained in:
1 parent
4d246a93f4
commit
4a013fba9e
1 file changed
+2
-1
+2
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user