Fix a label for Employees grid
This commit is contained in:
parent
0de34bfec1
commit
c525b16581
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue