Account Statement Cancel Line

Technical Name:
account_statement_cancel_line
Version:
7.0
License:
Author:
Camptocamp
  • Odoo Version

Account Statement Cancel Line

This module allows to cancel one line of the statement without cancelling the whole thing.

To do that, a state is added to the statement line.

When the user confirms or cancels the whole statement, we keep the previous functionality, and then we change the state in all statement lines. We also add a warning if any lines are reconciled. If no lines are reconciled, we show a generic warning because the operation could take a long time.

When the user confirms or cancels a statement line, we update the state of the line, and if necessary we update the state of the whole statement, too.

If the user tries to cancel a line that is reconciled, we ask for confirmation before proceeding.