diff --git a/roulier/carriers/dpd_fr_soap/api.py b/roulier/carriers/dpd_fr_soap/api.py index 55f236e..3f741a4 100644 --- a/roulier/carriers/dpd_fr_soap/api.py +++ b/roulier/carriers/dpd_fr_soap/api.py @@ -133,6 +133,8 @@ def _to_address(self): schema = super(DpdApi, self)._to_address() # , 'description': """First name""", schema["firstName"] = {"default": "", "coerce": "accents"} + schema["name3"] = {"default": ""} + schema["name4"] = {"default": ""} schema["door1"] = {"default": ""} # 'description': """Door code 1""" schema["door2"] = {"default": ""} # 'description': """Door code 2"""} schema["intercom"] = {"default": ""} # 'description': """Intercom"""} diff --git a/roulier/carriers/dpd_fr_soap/templates/dpd_addressInfo.xml b/roulier/carriers/dpd_fr_soap/templates/dpd_addressInfo.xml index 1170b3c..970cc1b 100644 --- a/roulier/carriers/dpd_fr_soap/templates/dpd_addressInfo.xml +++ b/roulier/carriers/dpd_fr_soap/templates/dpd_addressInfo.xml @@ -1,5 +1,7 @@ {{ address.companyName }} {{ address.firstName }} +{{ address.name3 }} +{{ address.name4 }} {{ address.digicode1 }} {{ address.digicode2 }} {{ address.intercom }}