From 4a013fba9e6401005c14a86e42693ed683581df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 6 Nov 2008 15:14:55 +0100 Subject: [PATCH] Add contest to domain_get call --- product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product.py b/product.py index 4eb89fa918..2b22cb6894 100644 --- a/product.py +++ b/product.py @@ -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()