changeset c9582871ec46 in modules/stock:default details: https://hg.tryton.org/modules/stock?cmd=changeset;node=c9582871ec46 description: 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 diffstat: product.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diffs (11 lines): diff -r 2449cd9590d1 -r c9582871ec46 product.py --- a/product.py Sun Jan 17 00:41:23 2021 +0100 +++ b/product.py Sun Jan 17 00:43:31 2021 +0100 @@ -543,7 +543,6 @@ 'stock_date_end': date, 'forecast': True, } - assert date != date_start with Transaction().set_context(**context): quantities[date] = Product.products_by_location( [warehouse_id],