diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fa8b6f..a9223bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ Roadmap / TODO: - Write tests +# 0.3.1 2018-02-01 + - Geodis fix typo in (e)mail + # 0.3.0 2018-02-01 ### Features / Refactorings diff --git a/VERSION b/VERSION index 0d91a54..9e11b32 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/roulier/carriers/geodis/geodis_encoder_edi.py b/roulier/carriers/geodis/geodis_encoder_edi.py index 740c931..3fb947b 100644 --- a/roulier/carriers/geodis/geodis_encoder_edi.py +++ b/roulier/carriers/geodis/geodis_encoder_edi.py @@ -59,8 +59,8 @@ def encode_shipment(self, shipment, service, idx): to_address['country'] ], ] - if to_address['mail']: - lines.append(['COM', [to_address['mail'], 'EM']]) + if to_address['email']: + lines.append(['COM', [to_address['email'], 'EM']]) if to_address['phone']: lines.append(['COM', [to_address['phone'], 'TE']]) j = 0