8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 11:53:12 +00:00

Bug introduit

This commit is contained in:
root 2017-09-01 22:21:51 +02:00
parent d2d5a32b1d
commit eb734d5b37

View file

@ -191,5 +191,4 @@ def cotisation_post_save(sender, **kwargs):
@receiver(post_delete, sender=Cotisation) @receiver(post_delete, sender=Cotisation)
def vente_post_delete(sender, **kwargs): def vente_post_delete(sender, **kwargs):
cotisation = kwargs['instance'] cotisation = kwargs['instance']
if not cotisation.vente.facture.user.has_access():
regen('mac_ip_list') regen('mac_ip_list')