26.03.26
This commit is contained in:
@@ -130,7 +130,7 @@ class Fee(ModelSQL,ModelView):
|
|||||||
if line.lots:
|
if line.lots:
|
||||||
qt = sum([e.get_current_quantity_converted(0,self.unit) for e in line.lots])
|
qt = sum([e.get_current_quantity_converted(0,self.unit) for e in line.lots])
|
||||||
qt_ = sum([e.get_current_quantity_converted(0) for e in line.lots])
|
qt_ = sum([e.get_current_quantity_converted(0) for e in line.lots])
|
||||||
unit = line.lots[0].lot_unit_line
|
unit = line.lots[0].lot_unit
|
||||||
logger.info("ON_CHANGE_WITH_QT0:%s",qt)
|
logger.info("ON_CHANGE_WITH_QT0:%s",qt)
|
||||||
logger.info("ON_CHANGE_WITH_SI:%s",self.shipment_in)
|
logger.info("ON_CHANGE_WITH_SI:%s",self.shipment_in)
|
||||||
if self.shipment_in:
|
if self.shipment_in:
|
||||||
@@ -140,7 +140,7 @@ class Fee(ModelSQL,ModelView):
|
|||||||
if lots:
|
if lots:
|
||||||
qt = sum([e.get_current_quantity_converted(0,self.unit) for e in lots])
|
qt = sum([e.get_current_quantity_converted(0,self.unit) for e in lots])
|
||||||
qt_ = sum([e.get_current_quantity_converted(0) for e in lots])
|
qt_ = sum([e.get_current_quantity_converted(0) for e in lots])
|
||||||
unit = lots[0].lot_unit_line
|
unit = lots[0].lot_unit
|
||||||
if not qt:
|
if not qt:
|
||||||
logger.info("ON_CHANGE_WITH_QT1:%s",qt)
|
logger.info("ON_CHANGE_WITH_QT1:%s",qt)
|
||||||
LotQt = Pool().get('lot.qt')
|
LotQt = Pool().get('lot.qt')
|
||||||
|
|||||||
Reference in New Issue
Block a user