Add weight data to send shipment

This commit is contained in:
resteve 2014-04-10 18:20:42 +02:00
parent 4d7e4c6083
commit b8eb53dd55
2 changed files with 4 additions and 1 deletions

View File

@ -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'] = ''

View File

@ -4,5 +4,7 @@ depends:
carrier_send_shipments
stock_delivery
stock_valued
extras_depend:
stock_shipment_weight
xml:
api.xml