base_location_nuts
Provides NUTS regional records and partner fields with an import wizard to sync them from the official EU dataset.
Key Features
- res.partner.nuts: Stores NUTS items with level, code, translated name, hierarchy, country and optional state links, plus a not updatable flag.
- nuts.import: Downloads NUTS 2024 data from the EU ShowVoc SPARQL endpoint, creates or updates records, deletes obsolete ones unless flagged, and opens a list of the imported items.
- res.partner: Adds NUTS L1–L4 fields with domains limited to allowed children for the selected country and parent levels, auto-synchronizes country/state and parent NUTS on change, extends address fields, and enables searching and grouping by NUTS.
- res.country: Adds a state_level setting to indicate which NUTS level corresponds to a country’s states for automatic partner mapping.
- contacts configuration: Provides NUTS tree and form views with menu access under Contacts localization for partner managers.
- security: Grants read access on NUTS items to portal and partner managers, full CRUD to system users, and restricts the import wizard to system users.