fixup of syntax after last commit
This commit is contained in:
parent
663fde65f4
commit
4a6217e9a7
|
@ -71,11 +71,11 @@ class DPDeliveryCarrier(models.Model):
|
||||||
return im.build_comp_addr(company = partner.parent_id.name,
|
return im.build_comp_addr(company = partner.parent_id.name,
|
||||||
address = addr,
|
address = addr,
|
||||||
person = person)
|
person = person)
|
||||||
else:
|
else:
|
||||||
(first, last) = split_first_lastname(partner.name)
|
(first, last) = split_first_lastname(partner.name)
|
||||||
return im.build_pers_addr(first = first,
|
return im.build_pers_addr(first = first,
|
||||||
last = last,
|
last = last,
|
||||||
address = addr)
|
address = addr)
|
||||||
|
|
||||||
@api.one
|
@api.one
|
||||||
def dp_send_shipping(self, pickings):
|
def dp_send_shipping(self, pickings):
|
||||||
|
|
Loading…
Reference in New Issue