Account Bank Statement Cascade Delete

Beta License: AGPL-3 OCA/bank-statement-import Translate me on Weblate Try me on Runboat

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.

Table of contents

Usage

To use this module, simply:

  1. Go to Accounting > Dashboard.
  2. Click on the three dots menu of a bank journal.
  3. Go to Operations > Statements.
  4. Select a statement and click Action > Delete.

The statement and all its lines will be deleted together.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Heliconia Solutions Pvt. Ltd.

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

Bhavesh Heliconia

This module is part of the OCA/bank-statement-import project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.