[ADD] product_origin_char: Free text origin field per supplier

New addon to replace structured country/state fields with flexible
free-text origin descriptions.

Features:
- Translatable origin_text field in product.supplierinfo
- Computed origin field in products based on main_seller_id
- Support for creative supplier origin descriptions
- Full OCA documentation structure
- ES/EU translations included
- 8 unit tests (all passing)

Replaces product_origin for use cases where suppliers use non-standardized
origin descriptions (e.g., 'Valencia, Spain', 'Huerta de...', etc.)

Depends on: product, product_main_seller
Author: Criptomart
Funding: Elika Bilbo
This commit is contained in:
snt 2026-02-25 18:42:54 +01:00
parent 1a8f92a01e
commit c8b83cc333
24 changed files with 1071 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Copyright 2026 Criptomart
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ # noqa: B018
"name": "Product Origin Text",
"version": "18.0.1.0.0",
"category": "Product",
"summary": "Free text origin field per supplier",
"author": "Odoo Community Association (OCA), Criptomart",
"maintainers": ["Criptomart"],
"license": "AGPL-3",
"website": "https://git.criptomart.net/criptomart/addons-cm",
"depends": [
"product",
"product_main_seller",
],
"data": [
"views/product_supplierinfo_views.xml",
"views/product_template_views.xml",
],
}