This module adds a field to associate the country and state of origin of a product
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a Country of Origin and Country State of Origin to products, so you can record where each product comes from and filter or group products by country.
This module lets you record where a product comes from directly on the product form. On a product (or product variant), a new "Origin" section shows two fields: Country of Origin and Country State of Origin.
- The state list only shows states that belong to the selected country, so you cannot pick a state from the wrong country.
- If you change the country, a state that no longer matches is cleared automatically. If you pick a state, the country is filled in automatically.
- Odoo blocks saving if the chosen state does not belong to the chosen country, with a clear error message.
On a product template with a single variant, the origin is shared with that variant. When a product has several variants, the origin fields are hidden on the template and managed per variant instead.
In the Products search view you can filter by Country of Origin and group products by Country of Origin, which is useful for reporting or sorting your catalogue by provenance. The module touches the product.product and product.template models and adds the Origin group to the product form and variant edit screens.
Depends on
Required by other modules
Models and fields (2)
- product.product · extends an existing modelstate_id (Country State of Origin), country_id (Country of Origin), state_id_domain
- product.template · extends an existing modelstate_id (Country State of Origin), country_id (Country of Origin), state_id_domain
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- Go to product form
- Fill in the country and/or state of origin of the product under the 'General Information' tab.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.