Purchase Open Qty
purchase_open_qty · OCA/purchase-workflow
Health
77/100
good
-
Security25/25No findings
-
Activity12/25Last human commit 19 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 10 Odoo series since 9.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
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
1 migration note
2 models
4 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE purchase_order_line pol SET qty_to_invoice = pol.qty_received - pol.qty_invoiced FROM product_product p JOIN product_template t ON p.product_tmpl_id = t.id WHERE t.purchase_method = 'receive' AND pol.product_id = p.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 allows purchase users to identify what are the purchase orders that currently have quantities pending to invoice or to receive.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form -- open qty fields | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_search |
purchase.order.line.search - purchase_open_qty | purchase.order.line | search | Inherits purchase.purchase_order_line_search |
view_purchase_order_filter |
request.quotation.select -- open qty filters | purchase.order | search | Inherits purchase.purchase_order_view_search |
view_purchase_order_line_tree |
purchase.order.line | tree | Inherits purchase_order_line_menu.purchase_order_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (4)
-
pending_qty_to_invoiceBooleancompute='_compute_qty_to_invoice'search='_search_pending_qty_to_invoice'string='Pending Qty to Bill' -
pending_qty_to_receiveBooleancompute='_compute_qty_to_receive'search='_search_pending_qty_to_receive'string='Pending Qty to Receive' -
qty_to_invoiceFloatcompute='_compute_qty_to_invoice'default=0.0string='Qty to Bill' -
qty_to_receiveFloatcompute='_compute_qty_to_receive'default=0.0string='Qty to Receive'
No public methods.
New fields (1)
-
qty_to_receiveFloatcompute='_compute_qty_to_receive'copy=Falsedigits='Product Unit of Measure'store=Truestring='Qty to Receive'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…