Product Weight Through UoM
product_weight_through_uom · OCA/product-attribute
Replaces
purchase_reporting_weight, sale_reporting_weight (11.0) Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 91 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.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.04 MB
Module directory on disk
Code analysis
3 migration notes
2 models
1 view
0 HTTP endpoints
Migration considerations
ProductProduct— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceProductTemplate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceview_template_property_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_template_property_form |
product.template | form | Inherits stock.view_template_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
extra_weightFloatdigits=dp.get_precision('Stock Weight')help='Extra weight (in Kg.) given by packaging, etc.' args: 'Extra Weight'
-
create(self, vals)@api.model -
write(self, vals)@api.multi
New fields (2)
-
extra_weightFloatcompute='_compute_extra_weight'digits=dp.get_precision('Stock Weight')help='Extra weight (in Kg.) given by packaging, etc.'inverse='_inverse_extra_weight' args: 'Extra Weight' -
is_weight_uomBooleancompute='_compute_is_weight_uom'default=Falsereadonly=True
-
create(self, vals)@api.model -
write(self, vals)@api.multi