(organizations) add siret to name conversion

This adds the plugin system to easily manage
Organization related customizations. This first
plugin tries (best effort) to get a proper name
for the Organization, using its SIRET. This
is French specificities but another plugin can
be defined for other cases.
This commit is contained in:
Quentin BEY
2024-12-05 18:19:11 +01:00
committed by BEY Quentin
parent 6e14c2e61f
commit 38a5f158b5
11 changed files with 277 additions and 0 deletions

View File

@@ -473,6 +473,11 @@ class Base(Configuration):
environ_prefix=None,
)
)
ORGANIZATION_PLUGINS = values.ListValue(
default=[],
environ_name="ORGANIZATION_PLUGINS",
environ_prefix=None,
)
# pylint: disable=invalid-name
@property