Sale Order Invoice Date
sale_order_invoice_date · OCA/sale-reporting
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 32 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.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
1 migration note
3 models
1 view
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `WITH sol AS ( SELECT sol.id AS id, max(move.invoice_date) AS invoice_date FROM sale_order_line_invoice_rel rel INNER JOIN sale_order_line sol ON rel.order_line_id = sol.id INNER JOIN account_move_line aml ON rel.invoice_line_id = aml.id INNER JOIN account_move move ON aml.move_id = move.id WHERE sol.invoice_status = 'invoiced' GROUP BY sol.id ) UPDATE sale_order_line SET invoice_date = sol.invoice_date FROM sol WHERE sale_order_line.id = sol.id` - re-check the table/column names still match after upgrading. (2 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_product_search |
sale.report | search | Inherits sale.view_order_product_search |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
invoice_dateDatecompute='_compute_invoice_date'store=True
No public methods.
New fields (1)
-
invoice_dateDatecompute='_compute_invoice_date'store=True
No public methods.
New fields (1)
-
invoice_dateDatereadonly=True
No public methods.