mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Merge branch 'hotfix_purchase_post_save' into 'dev'
Hotfix : recupération de l'user lors d'une cotisation en post_save de Vente See merge request federez/re2o!327
This commit is contained in:
commit
3c14729cc0
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