summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--passerelle_imio_extra_fees/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passerelle_imio_extra_fees/models.py b/passerelle_imio_extra_fees/models.py
index 434d8a4..2b7c223 100644
--- a/passerelle_imio_extra_fees/models.py
+++ b/passerelle_imio_extra_fees/models.py
@@ -68,7 +68,7 @@ class ExtraFees(BaseResource):
nb_documents += int(basket_item['request_data']['nb_documents'])
destination = basket_item['request_data']['destination'] # Passed in the workflow webservice
# No postage fees if send by mail
- if destination and 'mail' in destination:
+ if destination and ('mail' in destination or 'commune' in destination):
postage_fee = Decimal(0)
if Decimal(basket_item['request_data']['postage_fee']) > postage_fee:
postage_fee = Decimal(basket_item['request_data']['postage_fee'])