- Cambiar parámetro qty= a quantity= en llamadas a _compute_price_rule - Eliminar type/detailed_type de product.product creates - Añadir campo name a purchase.order.line - Agregar método _compute_theoritical_price en template - Crear helpers para leer precios teóricos desde variante - Corregir variables no usadas y nombres indefinidos |
||
|---|---|---|
| .. | ||
| i18n | ||
| models | ||
| readme | ||
| static/description | ||
| tests | ||
| views | ||
| __init__.py | ||
| __manifest__.py | ||
| pyproject.toml | ||
| README.md | ||
| README.rst | ||
Product Origin
Summary
Adds an origin field to products to track where they come from (geographic origin).
Features
- Origin Field: Adds a text field to store the product's origin
- Visible in Views: Shows in both product template and product variant forms
- Simple Implementation: Extends core product models
Technical Details
Models Extended
product.template: Main product templateproduct.product: Product variants
Fields Added
origin(Char): Text field for product origin
Views Modified
- Product Template Form
- Product Variant Form
Dependencies
product(Odoo core)
Installation
docker-compose exec odoo odoo -d odoo -u product_origin --stop-after-init
Usage
- Open a product form (Products > Products > [Product])
- Find the "Origin" field
- Enter the geographic origin (e.g., "Spain", "France", "Local")
OCA Source
- Repository: product-attribute
- Original Authors: ACSONE SA/NV, GRAP
- License: AGPL-3
Modifications for Kidekoop
None - Used as-is from OCA.
Translations
- ✅ Spanish (es)
- ✅ Euskera (eu)
Located in i18n/ directory.
Version: 18.0.1.0.0 License: AGPL-3