nanterre: fix test on updating adresse
This commit is contained in:
parent
d01b1e884d
commit
7c6cc46cec
|
@ -164,7 +164,7 @@ class ReseauView(APIView):
|
|||
if 'telephones' in v:
|
||||
individu.content['telephones'] = v['telephones']
|
||||
individu.save()
|
||||
if individu.content['statut_legal'] == 'majeur' and 'adresse' in 'v':
|
||||
if individu.content['statut_legal'] == 'majeur' and 'adresse' in v:
|
||||
for adresse, rel in utils.adresses(individu):
|
||||
adresse.content = v['adresse']
|
||||
rel.modified = individu.modified
|
||||
|
|
Loading…
Reference in New Issue