Product Origin
product_origin · OCA/product-attribute
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
2 models
4 views
0 HTTP endpoints
Description
This module adds a field to associate the country and state of origin of a product
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view |
product.template | form | Inherits product.product_template_only_form_view | |
product_template_search_view |
product.template | search | Inherits product.product_template_search_view | |
view_product_product_form |
product.product | form | Inherits product.product_normal_form_view | |
view_product_product_form_variant |
product.product | form | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
country_idMany2one → res.countrycomodel_name='res.country'ondelete='restrict'string='Country of Origin' -
state_idMany2one → res.country.statecomodel_name='res.country.state'ondelete='restrict'string='Country State of Origin' -
state_id_domainBinarycompute='_compute_state_id_domain'help='Technical field, used to compute dynamically state domain depending on the country.'
-
onchange_country_id(self)@api.onchange('country_id') -
onchange_state_id(self)@api.onchange('state_id')
New fields (3)
-
country_idMany2one → res.countrycomodel_name='res.country'compute='_compute_country_id'inverse='_inverse_country_id'store=Truestring='Country of Origin' -
state_idMany2one → res.country.statecomodel_name='res.country.state'compute='_compute_state_id'inverse='_inverse_state_id'store=Truestring='Country State of Origin' -
state_id_domainBinarycompute='_compute_state_id_domain'help='Technical field, used to compute dynamically state domain depending on the country.'
-
onchange_country_id(self)@api.onchange('country_id') -
onchange_state_id(self)@api.onchange('state_id')
Loading…
Loading…
Loading…
Loading…