Skip to content

Commit

Permalink
Correction vérification à l'importation du champ allocataire titulaire
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebleu committed Jun 10, 2016
1 parent dff6f41 commit cb688c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noethys/Dlg/DLG_Importation_individus.py
Expand Up @@ -1610,10 +1610,10 @@ def Validation(self, code="", valeur=""):

# Allocataire titulaire
if code.endswith("famille_allocataire") :
if code in (_(u"Père"), _(u"père"), u"P") :
if valeur in (_(u"Père"), _(u"père"), u"P") :
valeur = "pere"
label = _(u"Père")
elif code in (_(u"Mère"), _(u"mère"), u"M") :
elif valeur in (_(u"Mère"), _(u"mère"), u"M") :
valeur = "mere"
label = _(u"Mère")
else :
Expand Down

0 comments on commit cb688c8

Please sign in to comment.