Browse Source

Merge branch 'fix_cotis' into 'master'

Fix bug sur cotisation

See merge request federez/re2o!122
Fix_strange_foreign_key_state
moamoak 8 years ago
parent
commit
16162ff9bb
  1. 2
      cotisations/models.py

2
cotisations/models.py

@ -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…
Cancel
Save