Exclude cancelled moves in product quantities by warehouse move
issue11702 review441451003 (grafted from a18a3efc5f4eb5b55360aac5ad3ae119bcc36654) --HG-- branch : 6.0
This commit is contained in:
1 parent
d71d81d665
commit
29d3bc975f
1 file changed
+1
-1
+1
-1
@@ -861,7 +861,7 @@ class ProductQuantitiesByWarehouseMove(ModelSQL, ModelView):
|
||||
& move.to_location.in_(
|
||||
warehouse.select(warehouse.id))))
|
||||
& ((date_column < today) & (move.state == 'done')
|
||||
| (date_column >= today)),
|
||||
| (date_column >= today) & (move.state != 'cancelled')),
|
||||
with_=warehouse))
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in new issue
Block a user