feat(access): Change model to inherit from CenturionModel for Company model

ref: #839 #845 #760
This commit is contained in:
2025-06-19 22:01:34 +09:30
parent 87d0a5174f
commit 595b232db9

View File

@ -12,6 +12,10 @@ class Company(
# references in code to `organization` witch clashes with the intended name of
# this model.
_is_submodel = True
documentation = ''
class Meta:
@ -40,10 +44,6 @@ class Company(
return self.name
documentation = ''
history_model_name = 'company'
page_layout: dict = [
{
"name": "Details",
@ -95,8 +95,3 @@ class Company(
'organization',
'created',
]
def clean(self):
super().clean()