Commit 03733673 authored by Maxime Bombar's avatar Maxime Bombar

Revert "Revert "fin du pot vieux""

A l'année prochaine

This reverts commit a37c7a54.
parent a37c7a54
......@@ -635,9 +635,9 @@ def quick_search(self, data):
byidbde = True
acl_quick_search, acl_dons = self._has_acl("quick_search"), self._has_acl("dons")
if acl_quick_search or acl_dons:
#recherche = ReadDatabase.quick_search(term, old, byidbde, hide_solde=(not acl_quick_search), exclude=to_exclude)
recherche = ReadDatabase.quick_search(term, old, byidbde, hide_solde=(not acl_quick_search), exclude=to_exclude)
## WARNING C'EST DEGEULASSE C'EST POUR LE POT VIEUX
recherche = ReadDatabase.quick_search(term, True, byidbde, hide_solde=(not acl_quick_search))
#recherche = ReadDatabase.quick_search(term, True, byidbde, hide_solde=(not acl_quick_search))
self._send(recherche)
self._debug(4, u"quick_search de %s (%sold accounts, exclude %s)" % (data[0], "not " * (not old), to_exclude))
else:
......@@ -2160,7 +2160,7 @@ def _une_transaction(self, typ, idemetteur, iddestinataire, qte, montant, descri
elif (iddestinataire == 0) and typ in ["retrait", "transfert"] and (solde_destinataire_apres >= 0):
ok = True
### WARNING : A ENLEVER APRES POT VIEUX ###
ok = True
#ok = True
###########################################
if ok:
if (solde_emetteur_apres >= solde_tres_negatif
......
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