Sale Open Qty
sale_open_qty · OCA/sale-workflow
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 110 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 9.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.02 MB
Module directory on disk
Code analysis
4 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
view_order_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- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE sale_order_line SET qty_to_deliver = sol.qty FROM (SELECT smp.sale_line_id, sum(smp.product_uom_qty) as qty FROM (SELECT sm.id, sm.state, sm.product_uom_qty, procurement_order.sale_line_id FROM stock_move sm LEFT JOIN procurement_order ON sm.procurement_id = procurement_order.id) as smp WHERE smp.sale_line_id IS NOT NULL AND smp.state not in ('cancel', 'done') GROUP BY sale_line_id) as sol WHERE sale_order_line.id = sol.sale_line_id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · 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 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
sale.order.form -- open qty fields | sale.order | form | Inherits sale.view_order_form |
view_sales_order_filter |
sale.order.list.select -- open qty filters | sale.order | list | Inherits sale.view_sales_order_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (2)
-
qty_to_deliverFloatcompute='_compute_qty_to_deliver'default=0.0search='_search_qty_to_deliver'string='Qty to Deliver' -
qty_to_invoiceFloatcompute='_compute_qty_to_invoice'default=0.0search='_search_qty_to_invoice'string='Qty to Bill'
No public methods.
New fields (1)
-
qty_to_deliverFloatcompute='_compute_qty_to_deliver'copy=Falsedigits=dp.get_precision('Product Unit of Measure')store=Truestring='Qty to Deliver'
No public methods.