Browse Source

[MIG] account_bank_statement_import_qif: Migration to 12.0

pull/215/head
Erick Tejada 6 years ago
parent
commit
7c8f3d1ded
  1. 1
      account_bank_statement_import_qif/__init__.py
  2. 2
      account_bank_statement_import_qif/__manifest__.py
  3. 2
      account_bank_statement_import_qif/i18n/account_bank_statement_import_qif.pot
  4. 3
      account_bank_statement_import_qif/models/__init__.py
  5. 13
      account_bank_statement_import_qif/models/account_journal.py

1
account_bank_statement_import_qif/__init__.py

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

2
account_bank_statement_import_qif/__manifest__.py

@ -7,7 +7,7 @@
{ {
'name': 'Import QIF Bank Statements', 'name': 'Import QIF Bank Statements',
'category': 'Accounting', 'category': 'Accounting',
'version': '11.0.1.0.1',
'version': '12.0.1.0.0',
'author': 'OpenERP SA,' 'author': 'OpenERP SA,'
'Tecnativa,' 'Tecnativa,'
'Odoo Community Association (OCA)', 'Odoo Community Association (OCA)',

2
account_bank_statement_import_qif/i18n/account_bank_statement_import_qif.pot

@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"

3
account_bank_statement_import_qif/models/__init__.py

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

13
account_bank_statement_import_qif/models/account_journal.py

@ -0,0 +1,13 @@
# 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
Loading…
Cancel
Save