fixup of syntax after last commit

This commit is contained in:
Harald Welte 2016-07-15 17:10:43 +02:00
parent 663fde65f4
commit 4a6217e9a7
1 changed files with 5 additions and 5 deletions

View File

@ -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):