This commit is contained in:
2025-12-29 16:35:43 +01:00
parent 1ab5e57017
commit ca83f0ec7b

View File

@@ -263,9 +263,9 @@ class Dashboard(ModelSQL, ModelView):
Shipment = Pool().get('stock.shipment.in')
draft = Shipment.search(['state','=','draft'])
shipment_d = len(draft)
val = Purchase.search(['state','=','started'])
val = Shipment.search(['state','=','started'])
shipment_s = len(val)
conf = Purchase.search(['state','=','received'])
conf = Shipment.search(['state','=','received'])
shipment_r = len(conf)
Lot = Pool().get('lot.lot')
lots = Lot.search(['sale_line','!=',None])