Use stock_assign to compute product by location with future date
This commit is contained in:
+2
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user