Product - UoM Measure Type
product_uom_measure_type · OCA/product-attribute
Health
54/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 30 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 12.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
2 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
UomCategory— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE uom_uom SET measure_type = uom_category.measure_type FROM uom_category WHERE uom_category.id = uom_uom.category_id` - re-check the table/column names still match after upgrading. (3 occurrences in this file) migration-raw-sql-write · 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
This module extend the product module.
- It adds a new selection field
measure_typeonuom.categoryanduom.uommodels. This fields was present until the V13 in odoouommodule. - It adds a related field
uom_measure_typeon theproduct.templatemodel.
It is a technical module that doesn't add any feature by itself.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_template_form |
product.template | form | Inherits product.product_template_form_view | |
view_uom_category_form |
uom.category | form | Inherits uom.product_uom_categ_form_view | |
view_uom_uom_form |
uom.uom | form | Inherits uom.product_uom_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
uom_measure_typeSelectionreadonly=Truerelated='uom_id.measure_type'store=Truestring='UoM Type of Measure'
No public methods.
New fields (1)
-
measure_typeSelectionrequired=Trueselection=[('unit', 'Units'), ('weight', 'Weight'), ('working_time', 'Working Time'), ('length', 'Length'), ('surface', 'Surface'), ('volume', 'Volume')]string='Type of Measure'
No public methods.
New fields (1)
-
measure_typeSelectionreadonly=Truerelated='category_id.measure_type'store=Truestring='Type of Measure'
No public methods.
Loading…
Loading…