Account Cut-off Accrual Sale
account_cutoff_accrual_sale · OCA/account-closing
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
3 migration notes
5 models
1 view
0 HTTP endpoints
Migration considerations
account_cutoff_line_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 · sourceir_cron_cutoff_revenue— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE sale_order_line SET is_cutoff_accrual_excluded = TRUE WHERE order_id IN ( SELECT id FROM sale_order WHERE force_invoiced )` - re-check the table/column names still match after upgrading. 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
- Odoo dependencies
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- account_cutoff_accrual_sale_stock
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 |
|---|---|---|---|---|
account_cutoff_line_form |
account.cutoff.line | form | Inherits account_cutoff_base.account_cutoff_line_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
order_line_modelSelectionselection_add=[('sale.order.line', 'Sales Orders')]
No public methods.
New fields (2)
-
sale_line_idMany2one → sale.order.linecomodel_name='sale.order.line'readonly=Truestring='Sales Order Line' -
sale_order_idMany2onerelated='sale_line_id.order_id'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)
New fields (2)
-
account_cutoff_line_idsOne2many → account.cutoff.linereadonly=Truestring='Account Cutoff Lines' args: 'account.cutoff.line', 'sale_line_id' -
is_cutoff_accrual_excludedBooleancompute='_compute_is_cutoff_accrual_excluded'store=True
No public methods.