From 3dc863a63576e44f2e9aa873cb6c0545352926fc Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Mon, 16 Jul 2018 09:24:53 +0200 Subject: [PATCH] =?UTF-8?q?Ne=20save=20pas=20les=20factures=20avant=20d'en?= =?UTF-8?q?=20avoir=20v=C3=A9rifi=C3=A9=20le=20prix.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cotisations/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cotisations/views.py b/cotisations/views.py index 61533105..d015484a 100644 --- a/cotisations/views.py +++ b/cotisations/views.py @@ -118,7 +118,6 @@ def new_facture(request, user, userid): articles = article_formset # Check if at leat one article has been selected if any(art.cleaned_data for art in articles): - new_invoice_instance.save() # Building a purchase for each article sold purchases = [] total_price = 0