TIP: You can type at any time to perform a new search.
Account Bank Statement Cascade Delete
account_bank_statement_cascade_delete · OCA/bank-statement-import
- Repository
- OCA/bank-statement-import · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Accounting
- Folder size
- 0.31 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/bank-statement-import
- Last tracking update
- 2026-09-08 23:12:01
- Authors
- Odoo Community Association (OCA), Heliconia Solutions Pvt. Ltd.
- Maintainers
- Odoo Community Association (OCA), Heliconia Solutions Pvt. Ltd.
- Committers
- oca-ci, Bhavesh Heliconia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
unlink(self)