Commit 16162ff9 authored by moamoak's avatar moamoak

Merge branch 'fix_cotis' into 'master'

Fix bug sur cotisation

See merge request federez/re2o!122
parents 5a6acb59 25cd61dd
......@@ -394,7 +394,7 @@ def vente_post_save(sender, **kwargs):
LDAP user when a purchase has been saved.
"""
purchase = kwargs['instance']
if hasattr(vente, 'cotisation'):
if hasattr(purchase, 'cotisation'):
purchase.cotisation.vente = purchase
purchase.cotisation.save()
if purchase.type_cotisation:
......
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