This commit is contained in:
2026-03-23 10:36:33 +01:00
parent 80deac62f8
commit f9ee416d99

View File

@@ -1294,6 +1294,7 @@ class LotQt(
wh &= (sa.party == client)
if not finished:
wh &= (pl.finished == False)
wh &= (sl.finished == False)
AvQt = Case(((lqt.lot_p>0) & (lqt.lot_s>0), 0),else_=Case((lqt.lot_p>0,lqt.lot_quantity),else_=-lqt.lot_quantity))
MaQt = Case(((lqt.lot_p>0) & (lqt.lot_s>0), lqt.lot_quantity),else_=0)