diff --git a/account_usability/models/account_bank_statement.py b/account_usability/models/account_bank_statement.py index 86efde8d..a6eebbc4 100644 --- a/account_usability/models/account_bank_statement.py +++ b/account_usability/models/account_bank_statement.py @@ -43,13 +43,6 @@ def name_get(self): res.append((statement.id, name)) return res - def button_reopen(self): - self = self.with_context(skip_undo_reconciliation=True) - return super().button_reopen() - - def button_undo_reconciliation(self): - self.line_ids.button_undo_reconciliation() - class AccountBankStatementLine(models.Model): _inherit = 'account.bank.statement.line' @@ -96,9 +89,3 @@ def show_account_move(self): 'res_id': self.move_id.id, }) return action - - def button_undo_reconciliation(self): - if self._context.get("skip_undo_reconciliation"): - return - else: - return super().button_undo_reconciliation() diff --git a/account_usability/views/account_bank_statement.xml b/account_usability/views/account_bank_statement.xml index da3dbffb..aa3a6556 100644 --- a/account_usability/views/account_bank_statement.xml +++ b/account_usability/views/account_bank_statement.xml @@ -16,14 +16,6 @@ -