- Move origin_text field from product.supplierinfo to product.template - Add related field in product.product for variant access - Remove dependency on product_main_seller - Update views to show field near category (editable) - Rewrite tests for new architecture - Update all documentation (README, readme/ fragments) - Bump version to 18.0.2.0.0
30 lines
949 B
ReStructuredText
30 lines
949 B
ReStructuredText
This module adds a simple free-text ``origin_text`` field to products.
|
|
|
|
**Problem:**
|
|
|
|
The standard ``product_origin`` module provides structured fields (country + state) for
|
|
product origin. However, suppliers often use creative and varied formats to describe
|
|
product origin:
|
|
|
|
* "Valencia, Spain"
|
|
* "Huerta de Ana, Aragón"
|
|
* "Organic Farm - Northern Italy"
|
|
* "Local producer - Basque Country"
|
|
* "Fair Trade - Colombia"
|
|
|
|
These free-form descriptions don't fit into structured country/state fields.
|
|
|
|
**Solution:**
|
|
|
|
This module adds a simple ``origin_text`` field to ``product.template`` that:
|
|
|
|
* Allows free-form text to describe product origin
|
|
* Is accessible from product variants via related field
|
|
* Works with any product workflow
|
|
|
|
**Features:**
|
|
|
|
* Free-text ``Origin`` field in product form
|
|
* Field visible in product list views (optional column)
|
|
* Variants share the same origin as their template
|
|
* Editable from both template and variant views
|