From 1214526b1a6460e89e5e71df75fe88cc2bcab07d Mon Sep 17 00:00:00 2001 From: Michael Bideau Date: Mon, 28 Oct 2019 18:38:45 +0100 Subject: [PATCH] Replaced courrier_type 'decision_non_opposition_DP' with 'decision_nom_opposition_sr' --- atreal_openads/models.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/atreal_openads/models.py b/atreal_openads/models.py index a3b3589..36c2946 100644 --- a/atreal_openads/models.py +++ b/atreal_openads/models.py @@ -1357,8 +1357,10 @@ class AtrealOpenads(BaseResource, HTTPResource, BaseModel): courrier_type = 'CUb - REFUS' elif type_dossier == 'DP': - courrier_type = 'decision_non_opposition_DP' - if specific == 'annulation': + courrier_type = 'decision_nom_opposition_sr' + if specific == 'reserves': + courrier_type = 'decision_non_opposition_DP' + elif specific == 'annulation': courrier_type = 'arrete_annulation_DP' elif specific == 'prolongation': courrier_type = 'arrete_prorogation_DP'