Remove assert on date different from date_start
The assert introduced in rev fd2a67c576f3 is wrong because it can happen that two dates are consecutive of 1 day. issue9942 review339541002
This commit is contained in:
1 parent
7e6831e831
commit
582c2b57f0
1 file changed
-1
@@ -543,7 +543,6 @@ class ProductQuantitiesByWarehouse(ModelSQL, ModelView):
|
||||
'stock_date_end': date,
|
||||
'forecast': True,
|
||||
}
|
||||
assert date != date_start
|
||||
with Transaction().set_context(**context):
|
||||
quantities[date] = Product.products_by_location(
|
||||
[warehouse_id],
|
||||
|
||||
Reference in new issue
Block a user