Typo
This commit is contained in:
parent
4b99950f97
commit
268fe1eb4e
1 changed files with 3 additions and 2 deletions
|
@ -68,12 +68,13 @@ class Dialog(proprio.Dialog):
|
|||
|
||||
if "cransAccount" in adherent['objectClass']:
|
||||
menu_order.extend(menu_compte_crans)
|
||||
menu_order.extend(medu_end)
|
||||
menu_order.extend(menu_end)
|
||||
|
||||
def box(default_item=None):
|
||||
choices = []
|
||||
for key in menu_order:
|
||||
if self.has_right(menu_droits[key], adherent):
|
||||
choices.append((key, menu[key]['text'], menu[key].get('help', "")))
|
||||
choices.append((key, menu[key]['text'], menu[key].get('help', "")))
|
||||
return self.dialog.menu(
|
||||
"Que souhaitez vous modifier ?",
|
||||
width=0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue