Commit 3dc863a6 authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

Ne save pas les factures avant d'en avoir vérifié le prix.

parent 167bc601
......@@ -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):
# Building a purchase for each article sold
purchases = []
total_price = 0
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment