16.03.26
This commit is contained in:
@@ -319,7 +319,7 @@ class Sale(metaclass=PoolMeta):
|
||||
if line.lots:
|
||||
nb_packing += sum([l.lot_qt for l in line.lots if l.lot_type == 'physic'])
|
||||
if len(line.lots)>1:
|
||||
unit = line.lots[1].lot_unit_line.name
|
||||
unit = line.lots[1].lot_unit.name
|
||||
return str(int(nb_packing)) + unit
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user