Commit a4a1d520 authored by Gabriel Detraz's avatar Gabriel Detraz

Copier coller malheureux

parent dad10fe4
......@@ -332,7 +332,7 @@ class SoldeView(CableurMixin, RedirectHomeMixin, View):
except ValueError as e:
# Cas où le solde n'est pas suffisant
messages.error(request, e)
return render(request, self.template_name, {'form': form, 'ptype': ptype, 'ide': uid, 'articles': articles})
return render(request, self.template_name, {'form': form, 'ptype': ptype, 'ide': uid})
fid = facture['fid'][0]
messages.success(request, u"""Vente effectuée, fid=%s (à conserver)""" % fid )
return redirect(next)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment