mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Fix bug sur cotisation
This commit is contained in:
parent
e80c50ffe3
commit
25cd61ddca
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue