[MIG] account_bank_statement_import_qif: Migration to 12.0

This commit is contained in:
Víctor Martínez
2022-10-17 09:16:42 +02:00
parent 02d4ee0047
commit 1fc432e130
4 changed files with 21 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
from . import wizards

View File

@@ -7,11 +7,11 @@
{
"name": "Import QIF Bank Statements",
"category": "Accounting",
"version": "11.0.1.0.1",
"version": "12.0.1.0.0",
"author": "OpenERP SA," "Tecnativa," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-statement-import",
"depends": ["account_bank_statement_import",],
"data": ["wizards/account_bank_statement_import_qif_view.xml",],
"depends": ["account_bank_statement_import"],
"data": ["wizards/account_bank_statement_import_qif_view.xml"],
"installable": True,
"license": "AGPL-3",
}

View File

@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import account_journal

View File

@@ -0,0 +1,14 @@
# 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([_(".qif")])
return res