[IMP] Added `hierarchy_level` and relations control to `res.company`
Compare changes
There are no changes yet
No changes between version 3 and version 3
@enricostn @xavier.bonet We can assure that base.main_company
will be always the instance
company? This is the logic added in the post init hook.
hierarchy_level
selector field in res.company
hierarchy_level
instance
companyinstance
company can't have any parent_id
companycoordinator
parent hierarchy_level
must be instance
community
parent hierarchy_level
must be coordinator
parent_id_filtered_ids
computed field to create dynamic domain to parent_id
depending on the hierarchy_level
parent_id
field to easy_company_creation (Domain is not dynamic, we only create community type here)instance
to base.company
and the children company coordinator
coordinator
companies in easy company creationNo changes between version 3 and version 3