Browse Source

fixup of syntax after last commit

for/master
Harald Welte 5 years ago
parent
commit
4a6217e9a7
  1. 10
      models/dp_delivery_carrier.py

10
models/dp_delivery_carrier.py

@ -71,11 +71,11 @@ class DPDeliveryCarrier(models.Model):
return im.build_comp_addr(company = partner.parent_id.name,
address = addr,
person = person)
else:
(first, last) = split_first_lastname(partner.name)
return im.build_pers_addr(first = first,
last = last,
address = addr)
else:
(first, last) = split_first_lastname(partner.name)
return im.build_pers_addr(first = first,
last = last,
address = addr)
@api.one
def dp_send_shipping(self, pickings):

Loading…
Cancel
Save