Account Bank Statement Cascade Delete
account_bank_statement_cascade_delete · OCA/bank-statement-import
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
By default, in Odoo 16 and later, deleting an account.bank.statement will only remove the grouping, leaving the actual bank statement lines behind in the system (as they manifest as independent journal entries).
This module alters that behavior so that when you delete an account.bank.statement, it cascades the deletion to its included account.bank.statement.line records, effectively cleaning up both the statement and all of its associated lines off the database.
This is especially helpful for canceling and deleting incorrectly imported bank statements entirely.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (1)-
unlink(self)
Loading…