You are browsing upcoming documentation for version 5.1 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in March 2023. Read version 5.0 (the latest LTS version) of the Oro documentation to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
The organization types feature is only available in the Enterprise edition.
An organization type represents a set of predefined restrictions and limitations provided by a developer. A user can assign an organization type to any non global organization.
To add an organization type:
Create a Resources/config/oro/organization_types.yml file in any bundle.
Add a configuration of the organization type to this file, e.g.:
organization_types: acme: label: oro.organization_type.acme.label description: oro.organization_type.acme.description
Add translations for the organization type name and description to Resources/translations/messages.en.yml, e.g.:
oro: organization_type: acme: label: Acme description: The organization type for ...
Rebuild the application cache via the
php bin/console cache:clearcommand.
To make sure that you added a new organization type successfully, run the
php bin/console oro:organization-type:config:debugcommand.
Make sure that the new organization type is available on the Organization edit page in the back-office.
The complete configuration options available in the Resources/config/oro/organization_types.yml files are:
organization_types: # Prototype name: # The name of an organization type. label: ~ # Required # The description of an organization type. description: ~ # Required # The strategy for how to handle the features. strategy: exclude_list # One of "exclude_list"; "include_list" # The names of features that are enabled for an organization type. enabled_features:  # The names of features that are disabled for an organization type. disabled_features: 
You can also see this information by running the
php bin/console oro:organization-type:config:dump-reference command.
There are two strategies to handle features,
exclude_list strategy is used by default, granting access to all features not specified in the lists of enabled and disabled features.
include_list strategy denies access to all features not specified in the lists of enabled and disabled features.