mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Hotfix : recupération de l'user lors d'une cotisation en post_save de Vente
This commit is contained in:
parent
da91394163
commit
5431e20629
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue