This commit is contained in:
2026-01-03 14:15:50 +01:00
parent 13b7553641
commit 35c56538dd

View File

@@ -268,9 +268,9 @@ class Dashboard(ModelSQL, ModelView):
conf = Shipment.search(['state','=','received']) conf = Shipment.search(['state','=','received'])
shipment_r = len(conf) shipment_r = len(conf)
Lot = Pool().get('lot.lot') Lot = Pool().get('lot.lot')
lots = Lot.search([('sale_line','!=',None),('line','!=',None)]) lots = Lot.search([('sale_line','!=',None),('line','!=',None),('lot_type','=','physic')])
lot_m = len(lots) lot_m = len(lots)
val = Lot.search([('sale_line','=',None),('line','!=',None)]) val = Lot.search([('sale_line','=',None),('line','!=',None),('lot_type','=','physic')])
lot_a = len(val) lot_a = len(val)
Invoice = Pool().get('account.invoice') Invoice = Pool().get('account.invoice')
invs = Invoice.search(['type','=','in']) invs = Invoice.search(['type','=','in'])