partner_industry_secondary
Adds support for managing secondary industries on partners, with hierarchical industries and optional usage for individuals.
Key Features
- res.partner: Allow partners to hold multiple secondary industries in addition to the main industry, enforcing that the main industry cannot be selected as secondary.
- res.partner.industry: Provide hierarchical industries with parent/child relationships, path-based display names, and recursion-safe ordering.
- res.partner.industry: Enforce uniqueness of industry name within the same parent and rename duplicates automatically when copying.
- res.partner: Show industry and secondary industry fields on contact forms and trees only when allowed for individuals, using tag widgets for quick selection.
- res.partner: Enable searching and grouping partners by main or secondary industries through list filters.
- res.config.settings: Add a setting to allow industries to be used for individual contacts by assigning a dedicated security group.