Get mechanism from phone, mobile and email shipment fields

#036199
This commit is contained in:
Raimon Esteve 2018-12-13 13:59:31 +01:00
parent 5fb155ee8b
commit 969571e06b
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class ShipmentOut:
#~ data['csg_piso'] = ''
data['csg_poblacion'] = unaccent(shipment.delivery_address.city)
#~ data['csg_puerta'] = ''
data['csg_telefono'] = unspaces(ShipmentOut.get_phone_shipment_out(shipment))
data['csg_telefono'] = unspaces(shipment.mobile or shipment.phone)
#~ data['csg_tipo_numero_via'] = ''
#~ data['csg_tipo_via'] = ''
data['exp_bultos'] = packages