Skip to content

Commit c01bab6

Browse files
committed
Added missing file
1 parent 774ff14 commit c01bab6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2024 Dixmit
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
from odoo import models
4+
5+
6+
class AccountBankStatement(models.Model):
7+
_inherit = "account.bank.statement"
8+
9+
def action_open_statement(self):
10+
self.ensure_one()
11+
action = self.env["ir.actions.act_window"]._for_xml_id(
12+
"account_reconcile_oca.account_bank_statement_action_edit"
13+
)
14+
action["res_id"] = self.id
15+
return action

0 commit comments

Comments
 (0)