Cleanup attribute names for CORE Subdepartment model
This commit is contained in:
parent
c30e5b232e
commit
7e43250cec
|
@ -38,15 +38,9 @@ class SubdepartmentView(CoreOfficeMasterView):
|
||||||
url_prefix = '/core-pos/subdepartments'
|
url_prefix = '/core-pos/subdepartments'
|
||||||
route_prefix = 'corepos.subdepartments'
|
route_prefix = 'corepos.subdepartments'
|
||||||
|
|
||||||
labels = {
|
|
||||||
'subdept_no': "Number",
|
|
||||||
'subdept_name': "Name",
|
|
||||||
'dept_ID': "Dept. No.",
|
|
||||||
}
|
|
||||||
|
|
||||||
grid_columns = [
|
grid_columns = [
|
||||||
'subdept_no',
|
'number',
|
||||||
'subdept_name',
|
'name',
|
||||||
'department',
|
'department',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue