mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[MIG][14.0] account_statement_import_camt_oca
This commit is contained in:
15
account_statement_import_camt/models/account_journal.py
Normal file
15
account_statement_import_camt/models/account_journal.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2019 ACSONE SA/NV <thomas.binsfeld@acsone.eu>
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import _, models
|
||||
|
||||
|
||||
class AccountJournal(models.Model):
|
||||
_inherit = "account.journal"
|
||||
|
||||
def _get_bank_statements_available_import_formats(self):
|
||||
res = super(
|
||||
AccountJournal, self
|
||||
)._get_bank_statements_available_import_formats()
|
||||
res.extend([_("camt.053.001.02"), _("camt.054.001.02")])
|
||||
return res
|
||||
Reference in New Issue
Block a user