mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Merge branch 'fix_cotis' into 'master'
Fix bug sur cotisation See merge request federez/re2o!122
This commit is contained in:
commit
16162ff9bb
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