Cleanup attribute names for CORE Subdepartment model
This commit is contained in:
parent
2a37bb5a49
commit
9ede5b339d
|
@ -131,9 +131,9 @@ class SubdepartmentImporter(FromCOREPOS, importing.model.SubdepartmentImporter):
|
||||||
|
|
||||||
def normalize_host_object(self, subdepartment):
|
def normalize_host_object(self, subdepartment):
|
||||||
return {
|
return {
|
||||||
'number': subdepartment.subdept_no,
|
'number': subdepartment.number,
|
||||||
'name': subdepartment.subdept_name,
|
'name': subdepartment.name,
|
||||||
'department_number': subdepartment.dept_ID,
|
'department_number': subdepartment.department_number,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue