main #7
@@ -324,7 +324,7 @@ class Fee(ModelSQL,ModelView):
|
|||||||
fl.sale_line = l.sale_line.id
|
fl.sale_line = l.sale_line.id
|
||||||
FeeLots.save([fl])
|
FeeLots.save([fl])
|
||||||
qt_line += l.get_current_quantity_converted()
|
qt_line += l.get_current_quantity_converted()
|
||||||
unit = l.line.unit
|
unit = l.sale_line.unit
|
||||||
if fee.shipment_in:
|
if fee.shipment_in:
|
||||||
if fee.shipment_in.state == 'draft'or fee.shipment_in.state == 'started':
|
if fee.shipment_in.state == 'draft'or fee.shipment_in.state == 'started':
|
||||||
lots = Lots.search(['lot_shipment_in','=',fee.shipment_in.id])
|
lots = Lots.search(['lot_shipment_in','=',fee.shipment_in.id])
|
||||||
|
|||||||
Reference in New Issue
Block a user