Utilise >= gnagnagna

This commit is contained in:
Ludovic Stephan 2019-06-03 23:00:10 +02:00
parent c4948be1f7
commit 56bc281b30

View file

@ -484,7 +484,7 @@ class AccountDelete(PermissionRequiredMixin, DeleteView):
def delete(self, request, *args, **kwargs):
self.object = self.get_object()
if self.object.balance > 0.01:
if self.object.balance >= 0.01:
messages.error(
request,
"Impossible de supprimer un compte "