Ajout de l'impression de ticket mdp adhérent
This commit is contained in:
parent
a1256091b3
commit
16777e3914
2 changed files with 8 additions and 2 deletions
|
@ -85,11 +85,10 @@ class Dialog(machine.Dialog, blacklist.Dialog):
|
|||
|
||||
@tailcaller
|
||||
def set_password(proprio, update_obj, cont):
|
||||
if self.dialog.yesno("Attribuer un mot de passe maintenant ?",
|
||||
if self.dialog.yesno("Attribuer un mot de passe maintenant ? (Vous aurez la possibilité d'imprimer un ticket plus tard également ...)",
|
||||
title="Création du compte de %s %s" % (proprio.get('prenom', [''])[0], proprio["nom"][0]),
|
||||
timeout=self.timeout
|
||||
) == self.dialog.DIALOG_OK:
|
||||
#return self.proprio_compte_password(proprio=proprio, return_obj=return_obj, cont=cont(**{update_obj:proprio}))
|
||||
proprio = self.proprio_compte_password(proprio=proprio, return_obj=True, cont=TailCall(set_password, proprio, update_obj, cont))
|
||||
if return_obj:
|
||||
return proprio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue