TIP: You can type at any time to perform a new search.
Sale Open Qty
sale_open_qty · OCA/sale-workflow
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.addons.decimal_precision` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
view_order_form— For a target of Odoo 17.0+: view 'view_order_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve 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
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Sales
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 07:09:57
- Authors
- Odoo Community Association (OCA), Eficent
- Maintainers
- Odoo Community Association (OCA), Eficent
- Committers
- mreficent, OCA Transbot, OCA-git-bot, oca-travis
Code Analysis
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.