Use stock_assign to compute product by location with future date

This commit is contained in:
Cédric Krier
2009-10-28 09:17:16 +01:00
parent 9534006ce1
commit e2fb7aa69c
+2 -1
View File
@@ -278,7 +278,8 @@ class Product(ModelSQL, ModelView):
')'
state_date_vals = [
'done', 'assigned', today, today,
'done', context.get('stock_assign') and 'assigned' or 'done',
today, today,
'done', 'assigned', 'draft',
context['stock_date_end'], today,
context['stock_date_end'], today,