Fix a label for Employees grid

This commit is contained in:
Lance Edgar 2019-10-15 19:55:56 -05:00
parent 0de34bfec1
commit c525b16581

View file

@ -49,6 +49,7 @@ class EmployeesView(MasterView):
labels = { labels = {
'id': "ID", 'id': "ID",
'display_name': "Short Name",
'phone': "Phone Number", 'phone': "Phone Number",
} }
@ -196,7 +197,6 @@ class EmployeesView(MasterView):
f.set_readonly('phone') f.set_readonly('phone')
f.set_readonly('email') f.set_readonly('email')
f.set_label('display_name', "Short Name")
f.set_label('email', "Email Address") f.set_label('email', "Email Address")
if not self.viewing: if not self.viewing: