This commit is contained in:
gsinghpal
2026-04-02 23:40:34 -04:00
parent 1c560c6df2
commit 4cd7357aa0
73 changed files with 7076 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from odoo import models
class AccountJournal(models.Model):
_inherit = 'account.journal'
def action_open_statement_import(self):
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'Import Bank Statement',
'res_model': 'fusion.statement.import',
'view_mode': 'form',
'target': 'new',
'context': {'default_journal_id': self.id},
}