Account Move Line Sale Info
account_move_line_sale_info · OCA/account-financial-tools
-
Security25/25No findings
-
Activity12/25Last human commit 20 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move_line aml SET sale_line_id = sm.sale_line_id FROM account_move_line aml2 INNER JOIN stock_move sm ON aml2.stock_move_id = sm.id WHERE aml.id = aml2.id;` - re-check the table/column names still match after upgrading. (5 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 will add the sale order line to journal items.
The ultimate goal is to establish the sale order line as one of the key fields to reconcile the Goods Delivered Not Invoiced accrual account.
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 |
|---|---|---|---|---|
view_account_move_line_filter |
Journal Items | account.move.line | Inherits account.view_account_move_line_filter | |
view_move_form |
account.move.form | account.move | form | Inherits account.view_move_form |
view_move_line_form |
account.move.line.form | account.move.line | form | Inherits account.view_move_line_form |
view_move_line_tree |
account.move.line.tree | account.move.line | tree | Inherits account.view_move_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
No new fields.
Public methods (0)No public methods.
-
sale_line_idMany2one → sale.order.linecomodel_name='sale.order.line'copy=Falseindex=Trueondelete='set null'string='Sale Order Line' -
sale_order_idMany2one → sale.ordercomodel_name='sale.order'copy=Falseindex=Trueondelete='set null'related='sale_line_id.order_id'store=Truestring='Sales Order'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…