03.01.26
This commit is contained in:
@@ -268,12 +268,10 @@ class Dashboard(ModelSQL, ModelView):
|
||||
conf = Shipment.search(['state','=','received'])
|
||||
shipment_r = len(conf)
|
||||
Lot = Pool().get('lot.lot')
|
||||
lots = Lot.search(['sale_line','!=',None])
|
||||
lots = Lot.search([('sale_line','!=',None),('line','!=',None)])
|
||||
lot_m = len(lots)
|
||||
val = Lot.search(['sale_line','=',None])
|
||||
val = Lot.search([('sale_line','=',None),('line','!=',None)])
|
||||
lot_a = len(val)
|
||||
conf = Lot.search(['lot_type','=','physic'])
|
||||
lot_al = len(conf)
|
||||
Invoice = Pool().get('account.invoice')
|
||||
invs = Invoice.search(['type','=','in'])
|
||||
inv_p = len(invs)
|
||||
@@ -325,8 +323,6 @@ class Dashboard(ModelSQL, ModelView):
|
||||
+ str(lot_m)
|
||||
+ "&lot_a="
|
||||
+ str(lot_a)
|
||||
+ "&lot_al="
|
||||
+ str(lot_al)
|
||||
+ "&inv_p="
|
||||
+ str(inv_p)
|
||||
+ "&inv_p_p="
|
||||
|
||||
Reference in New Issue
Block a user