product_origin
Add origin information (country and state) to products with validation and search support.
Key Features
- product.template: Adds origin fields (country and state) visible for single-variant templates, synchronized with the sole variant and validated so the state matches the country.
- product.product: Adds country and state of origin fields with onchange helpers and a constraint to keep the state consistent with the selected country.
- product: Restricts state choices dynamically to the selected country on product and template forms.
- product.template: Extends the product search view with a country-of-origin filter and group-by option.