Commit 5431e206 authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK Committed by chirac

Hotfix : recupération de l'user lors d'une cotisation en post_save de Vente

parent da913941
......@@ -478,7 +478,7 @@ def vente_post_save(**kwargs):
if purchase.type_cotisation:
purchase.create_cotis()
purchase.cotisation.save()
user = purchase.facture.user
user = purchase.facture.facture.user
user.set_active()
user.ldap_sync(base=True, access_refresh=True, mac_refresh=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment