09.03.26
This commit is contained in:
@@ -286,7 +286,7 @@ class Sale(metaclass=PoolMeta):
|
|||||||
for line in self.lines:
|
for line in self.lines:
|
||||||
if line.lots:
|
if line.lots:
|
||||||
nb_bale += sum([l.lot_qt for l in line.lots if l.lot_type == 'physic'])
|
nb_bale += sum([l.lot_qt for l in line.lots if l.lot_type == 'physic'])
|
||||||
return text_bale + str(nb_bale)
|
return text_bale + str(int(nb_bale))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def report_price(self):
|
def report_price(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user