[crans] On cumule les erreurs
This commit is contained in:
parent
6532f805ad
commit
5ce1dd11c2
9 changed files with 20 additions and 47 deletions
|
@ -379,8 +379,6 @@ class impression:
|
|||
"""
|
||||
self._jid = _uniq_jid()
|
||||
|
||||
# imprime le document
|
||||
self._exec_imprime()
|
||||
# debite l'adhérent si adherent il y a
|
||||
if (self._adh != None):
|
||||
adh = self._adh.split('@')
|
||||
|
@ -392,6 +390,8 @@ class impression:
|
|||
adh.solde(-self._prix, "impression(%d): %s par %s" % (self._jid,self._fichier,self._adh))
|
||||
adh.save()
|
||||
del adh
|
||||
# imprime le document
|
||||
self._exec_imprime()
|
||||
|
||||
def _calcule_prix(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue