Add weight data to send shipment
This commit is contained in:
parent
4d7e4c6083
commit
b8eb53dd55
|
@ -100,7 +100,8 @@ class ShipmentOut:
|
|||
#~ data['exp_entregar_sabado'] = ''
|
||||
#~ data['exp_lc'] = ''
|
||||
#~ data['exp_observaciones'] = ''
|
||||
#~ data['exp_peso'] = ''
|
||||
if api.weight and getattr(shipment, 'weight_func'):
|
||||
data['exp_peso'] = str(shipment.weight_func)
|
||||
data['exp_referencia'] = shipment.code
|
||||
#~ data['exp_valor_seguro'] = ''
|
||||
#~ data['fr_centro_logistico'] = ''
|
||||
|
|
|
@ -4,5 +4,7 @@ depends:
|
|||
carrier_send_shipments
|
||||
stock_delivery
|
||||
stock_valued
|
||||
extras_depend:
|
||||
stock_shipment_weight
|
||||
xml:
|
||||
api.xml
|
||||
|
|
Loading…
Reference in New Issue