Débug custom_popup.py if name not exist in Debitor
This commit is contained in:
@@ -183,6 +183,8 @@ class Check_debitor_popup(Toplevel):
|
||||
Label(lbf_new, text="Débiteur sélectionné dans Attrib", font=label_font).grid(row=1, column=0, sticky="W")
|
||||
text_name = Text(lbf_new, fg="red", height=3,width= 30)
|
||||
text_name.grid(row=1, column=1, sticky="W")
|
||||
if 'name' not in debitor:
|
||||
debitor['name'] = ""
|
||||
text_name.insert(END,debitor['name'])
|
||||
text_name.configure(state='disabled')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user