changes
This commit is contained in:
@@ -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},
|
||||
}
|
||||
Reference in New Issue
Block a user