Stock Move Quantity Product UOM
stock_move_quantity_product_uom · OCA/stock-logistics-warehouse
Merged into stock in 20.0
OCA/stock-logistics-workflow 17.0–18.0 → OCA/stock-logistics-warehouse 19.0
Health
78/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
1 model
0 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_move sm SET quantity_product_uom = sm.quantity FROM product_product pp JOIN product_template pt ON pt.id = pp.product_tmpl_id WHERE sm.product_id = pp.id AND pt.uom_id = sm.product_uom` - re-check the table/column names still match after upgrading. 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 computes stock.move's quantity in the uom of the product.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (1)
-
quantity_product_uomFloatcompute='_compute_quantity_product_uom'help='Quantity, expressed in the default UoM of the product'store=Truestring='Quantity in Product UoM'
No public methods.
Loading…
Loading…