Account Statement Cancel Line

account_statement_cancel_line
REPOSITORY
REPOSITORYOCA/account-reconcile
GIT
GIThttps://github.com/OCA/account-reconcile.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-reconcile/tree/10.0/account_statement_cancel_line
VERSION
VERSION 0.3
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_default_draft_move
    - account_constraints
OCA/account-reconcile:
    - account_statement_ext
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        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.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_bank_statement_form_cancel_line account.bank.statement.form. account.bank.statement data Inherits account.view_bank_statement_form
view_wizard_cancel_statement_form view.wizard.cancel.statement.form wizard.cancel.statement form New
view_wizard_cancel_statement_line_form view.wizard.cancel.statement.line.form wizard.cancel.statement.line form New
Models touched (5)

New fields (0)

No new fields.

Public methods (4)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if there is any reconciliation. Return action.
  • button_confirm_bank(self, cr, uid, ids, context=None)
    If all lines are draft, change their state. Otherwise, confirm line by line to avoid duplicate moves. Return super.
  • confirm_statement_from_lines(self, cr, uid, ids, context=None)
    If all lines are confirmed, so is the whole statement. Return True if we changed anything.
  • do_cancel(self, cr, uid, ids, context=None)
    Change the state on the statement lines. Return super. This method is called directly when there are no reconciliations, or from the warning wizard, if there are reconciliations.

New fields (0)

No new fields.

Public methods (5)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if a line is reconciled, and cancel it. Return action.
  • cancel(self, cr, uid, ids, context=None)
    Cancel one statement line, return action. This is again similar to the method cancel in the account_banking module.
  • confirm(self, cr, uid, ids, context=None)
    Confirm just one statement line, return action. The module account_banking does have a similar method, but at the moment it uses a different logic (for example, it uses vouchers, where the bank-statement-reconcile branch does not).
  • has_reconciliation(self, cr, uid, ids, context=None)
    Check if the line has some reconciliation. Return boolean.
  • unlink(self, cr, uid, ids, context=None)
    Don't allow deletion of a confirmed statement line. Return super.

New fields (0)

No new fields.

Public methods (1)
  • do_cancel_button(self, cr, uid, ids, context=None)
    Proceed and cancel the statement, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.
REPOSITORY
REPOSITORYOCA/account-reconcile
GIT
GIThttps://github.com/OCA/account-reconcile.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-reconcile/tree/9.0/account_statement_cancel_line
VERSION
VERSION 0.3
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_default_draft_move
    - account_constraints
OCA/account-reconcile:
    - account_statement_ext
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - report_webkit
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        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.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_bank_statement_form_cancel_line account.bank.statement.form. account.bank.statement data Inherits account.view_bank_statement_form
view_wizard_cancel_statement_form view.wizard.cancel.statement.form wizard.cancel.statement form New
view_wizard_cancel_statement_line_form view.wizard.cancel.statement.line.form wizard.cancel.statement.line form New
Models touched (5)

New fields (0)

No new fields.

Public methods (4)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if there is any reconciliation. Return action.
  • button_confirm_bank(self, cr, uid, ids, context=None)
    If all lines are draft, change their state. Otherwise, confirm line by line to avoid duplicate moves. Return super.
  • confirm_statement_from_lines(self, cr, uid, ids, context=None)
    If all lines are confirmed, so is the whole statement. Return True if we changed anything.
  • do_cancel(self, cr, uid, ids, context=None)
    Change the state on the statement lines. Return super. This method is called directly when there are no reconciliations, or from the warning wizard, if there are reconciliations.

New fields (0)

No new fields.

Public methods (5)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if a line is reconciled, and cancel it. Return action.
  • cancel(self, cr, uid, ids, context=None)
    Cancel one statement line, return action. This is again similar to the method cancel in the account_banking module.
  • confirm(self, cr, uid, ids, context=None)
    Confirm just one statement line, return action. The module account_banking does have a similar method, but at the moment it uses a different logic (for example, it uses vouchers, where the bank-statement-reconcile branch does not).
  • has_reconciliation(self, cr, uid, ids, context=None)
    Check if the line has some reconciliation. Return boolean.
  • unlink(self, cr, uid, ids, context=None)
    Don't allow deletion of a confirmed statement line. Return super.

New fields (0)

No new fields.

Public methods (1)
  • do_cancel_button(self, cr, uid, ids, context=None)
    Proceed and cancel the statement, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.
REPOSITORY
REPOSITORYOCA/account-reconcile
GIT
GIThttps://github.com/OCA/account-reconcile.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-reconcile/tree/8.0/account_statement_cancel_line
VERSION
VERSION 0.3
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_default_draft_move
    - account_constraints
OCA/account-reconcile:
    - account_statement_ext
    - account_statement_base_completion
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - report_webkit
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        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.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_bank_statement_form_cancel_line account.bank.statement.form. account.bank.statement data Inherits account.view_bank_statement_form
view_wizard_cancel_statement_form view.wizard.cancel.statement.form wizard.cancel.statement form New
view_wizard_cancel_statement_line_form view.wizard.cancel.statement.line.form wizard.cancel.statement.line form New
Models touched (5)

New fields (0)

No new fields.

Public methods (4)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if there is any reconciliation. Return action.
  • button_confirm_bank(self, cr, uid, ids, context=None)
    If all lines are draft, change their state. Otherwise, confirm line by line to avoid duplicate moves. Return super.
  • confirm_statement_from_lines(self, cr, uid, ids, context=None)
    If all lines are confirmed, so is the whole statement. Return True if we changed anything.
  • do_cancel(self, cr, uid, ids, context=None)
    Change the state on the statement lines. Return super. This method is called directly when there are no reconciliations, or from the warning wizard, if there are reconciliations.

New fields (0)

No new fields.

Public methods (5)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if a line is reconciled, and cancel it. Return action.
  • cancel(self, cr, uid, ids, context=None)
    Cancel one statement line, return action. This is again similar to the method cancel in the account_banking module.
  • confirm(self, cr, uid, ids, context=None)
    Confirm just one statement line, return action. The module account_banking does have a similar method, but at the moment it uses a different logic (for example, it uses vouchers, where the bank-statement-reconcile branch does not).
  • has_reconciliation(self, cr, uid, ids, context=None)
    Check if the line has some reconciliation. Return boolean.
  • unlink(self, cr, uid, ids, context=None)
    Don't allow deletion of a confirmed statement line. Return super.

New fields (0)

No new fields.

Public methods (1)
  • do_cancel_button(self, cr, uid, ids, context=None)
    Proceed and cancel the statement, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.
REPOSITORY
REPOSITORYOCA/account-reconcile
GIT
GIThttps://github.com/OCA/account-reconcile.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-reconcile/tree/7.0/account_statement_cancel_line
VERSION
VERSION 0.3
CATEGORY
CATEGORYFinance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSYannick Vaucher, Alexandre Fayolle, Matthieu Dietrich, Leonardo Pistone, Pedro M. Baeza, Rudolf Schnapka
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_default_draft_move
    - account_constraints
OCA/account-reconcile:
    - account_statement_ext
    - account_statement_base_completion
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - report_webkit
    - account_voucher
    - account_report_company
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        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.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_bank_statement_form_cancel_line account.bank.statement.form. account.bank.statement data Inherits account.view_bank_statement_form
view_wizard_cancel_statement_form view.wizard.cancel.statement.form wizard.cancel.statement form New
view_wizard_cancel_statement_line_form view.wizard.cancel.statement.line.form wizard.cancel.statement.line form New
Models touched (5)

New fields (0)

No new fields.

Public methods (4)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if there is any reconciliation. Return action.
  • button_confirm_bank(self, cr, uid, ids, context=None)
    If all lines are draft, change their state. Otherwise, confirm line by line to avoid duplicate moves. Return super.
  • confirm_statement_from_lines(self, cr, uid, ids, context=None)
    If all lines are confirmed, so is the whole statement. Return True if we changed anything.
  • do_cancel(self, cr, uid, ids, context=None)
    Change the state on the statement lines. Return super. This method is called directly when there are no reconciliations, or from the warning wizard, if there are reconciliations.

New fields (0)

No new fields.

Public methods (5)
  • button_cancel(self, cr, uid, ids, context=None)
    Check if a line is reconciled, and cancel it. Return action.
  • cancel(self, cr, uid, ids, context=None)
    Cancel one statement line, return action. This is again similar to the method cancel in the account_banking module.
  • confirm(self, cr, uid, ids, context=None)
    Confirm just one statement line, return action. The module account_banking does have a similar method, but at the moment it uses a different logic (for example, it uses vouchers, where the bank-statement-reconcile branch does not).
  • has_reconciliation(self, cr, uid, ids, context=None)
    Check if the line has some reconciliation. Return boolean.
  • unlink(self, cr, uid, ids, context=None)
    Don't allow deletion of a confirmed statement line. Return super.

New fields (0)

No new fields.

Public methods (1)
  • do_cancel_button(self, cr, uid, ids, context=None)
    Proceed and cancel the statement, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.

New fields (0)

No new fields.

Public methods (1)
  • unreconcile(self, cr, uid, ids, context=None)
    Proceed and cancel the statement line, return Action. This will delete the move.line and the reconciliation.