From cffcd6610852af77fb36c4a24a4b4bcea6fee52e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 Sep 2017 22:21:51 +0200 Subject: [PATCH] Bug introduit --- cotisations/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cotisations/models.py b/cotisations/models.py index 4d775ae0..f1b8f8cf 100644 --- a/cotisations/models.py +++ b/cotisations/models.py @@ -191,5 +191,4 @@ def cotisation_post_save(sender, **kwargs): @receiver(post_delete, sender=Cotisation) def vente_post_delete(sender, **kwargs): cotisation = kwargs['instance'] - if not cotisation.vente.facture.user.has_access(): - regen('mac_ip_list') + regen('mac_ip_list')