mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[MIG] account_bank_statement_import_qif: Migration to 11.0
* Metafiles updated * Test adapted to Python 3 * Code adapted to Python 3 OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex [UPD] Update account_bank_statement_import_qif.pot
This commit is contained in:
committed by
Víctor Martínez
parent
38b1bcb777
commit
29d70eecf9
@@ -26,14 +26,14 @@ Usage
|
||||
|
||||
To use this module, you need to:
|
||||
|
||||
#. Go to *Accounting* dashboard.
|
||||
#. Go to *Invoicing / Accounting* dashboard.
|
||||
#. Click on *Import statement* from any of the bank journals.
|
||||
#. Select a QIF file.
|
||||
#. Press *Import*.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/174/9.0
|
||||
:target: https://runbot.odoo-community.org/runbot/174/11.0
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
@@ -50,11 +50,15 @@ Credits
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Odoo SA
|
||||
* Alexis de Lattre <alexis@via.ecp.fr>
|
||||
* Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
* Ronald Portier <rportier@therp.nl>
|
||||
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
* Odoo SA
|
||||
* Akretion
|
||||
* Alexis de Lattre <alexis@via.ecp.fr>
|
||||
* ACSONE A/V
|
||||
* Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
* Therp
|
||||
* Ronald Portier <rportier@therp.nl>
|
||||
* Tecnativa (https://www.tecnativa.com)
|
||||
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import wizards
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Odoo S. A.
|
||||
# Copyright 2015 Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
# Copyright 2015 Ronald Portier <rportier@therp.nl>
|
||||
# Copyright 2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# Copyright 2016-2017 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
'name': 'Import QIF Bank Statements',
|
||||
'category': 'Accounting',
|
||||
'version': '10.0.1.0.0',
|
||||
'version': '11.0.1.0.0',
|
||||
'author': 'OpenERP SA,'
|
||||
'Tecnativa,'
|
||||
'Odoo Community Association (OCA)',
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.model,name:account_bank_statement_import_qif.model_account_bank_statement_import
|
||||
msgid "Import Bank Statement"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.ui.view,arch_db:account_bank_statement_import_qif.account_bank_statement_import_view
|
||||
msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
|
||||
"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Konnte QIF-Datei nicht entziffern."
|
||||
@@ -35,7 +35,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr "Quicken Interchange Format (.qif)"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2017\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "No se puede descifrar el archivo QIF."
|
||||
@@ -32,10 +33,10 @@ msgstr "Importar extracto bancario"
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.ui.view,arch_db:account_bank_statement_import_qif.account_bank_statement_import_view
|
||||
msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
msgstr "Quicken Interchange Format (.qif)"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
41
account_bank_statement_import_qif/i18n/fa.po
Normal file
41
account_bank_statement_import_qif/i18n/fa.po
Normal file
@@ -0,0 +1,41 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
# Translators:
|
||||
# Mehdi Zarrinkolah <mehdi1811@gmail.com>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-06-08 08:27+0000\n"
|
||||
"PO-Revision-Date: 2018-06-08 08:27+0000\n"
|
||||
"Last-Translator: Mehdi Zarrinkolah <mehdi1811@gmail.com>, 2018\n"
|
||||
"Language-Team: Persian (https://www.transifex.com/oca/teams/23907/fa/)\n"
|
||||
"Language: fa\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "فایل QIF رمزگشایی نشد"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.model,name:account_bank_statement_import_qif.model_account_bank_statement_import
|
||||
msgid "Import Bank Statement"
|
||||
msgstr "ورود بیانیه بانکی "
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.ui.view,arch_db:account_bank_statement_import_qif.account_bank_statement_import_view
|
||||
msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr "قالب مبادله سریع qif"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr "این فایل یک بیانیه بانکی نیست یا به درستی شکل نمی گیرد."
|
||||
@@ -1,7 +1,7 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2017
|
||||
msgid ""
|
||||
@@ -12,14 +12,14 @@ msgstr ""
|
||||
"PO-Revision-Date: 2016-12-10 05:00+0000\n"
|
||||
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2017\n"
|
||||
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
|
||||
"Language: fi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fi\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:39
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
@@ -35,7 +35,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:74
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Quentin THEURET <odoo@kerpeo.com>, 2017
|
||||
# Lixon Jean-Yves <jy.lixon@ls-development.net>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-08-11 02:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-11 02:41+0000\n"
|
||||
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2017\n"
|
||||
"POT-Creation-Date: 2018-03-21 03:39+0000\n"
|
||||
"PO-Revision-Date: 2018-03-21 03:39+0000\n"
|
||||
"Last-Translator: Lixon Jean-Yves <jy.lixon@ls-development.net>, 2017\n"
|
||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Impossible de déchiffrer le fichier QIF."
|
||||
@@ -28,17 +28,16 @@ msgstr "Impossible de déchiffrer le fichier QIF."
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.model,name:account_bank_statement_import_qif.model_account_bank_statement_import
|
||||
msgid "Import Bank Statement"
|
||||
msgstr "Importer Relevé Bancaire"
|
||||
msgstr "Importer un relevé bancaire"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.ui.view,arch_db:account_bank_statement_import_qif.account_bank_statement_import_view
|
||||
msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr "Quicken Interchange Format (.qif)"
|
||||
msgstr "Format d'échange avec Quicken (.qif)"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
"Ce fichier n'est pas un relevé bancaire ou n'est pas dans un format "
|
||||
"correcte."
|
||||
"Ce fichier n'est pas un relevé bancaire ou n'est pas dans un format correcte."
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
@@ -11,15 +11,16 @@ msgstr ""
|
||||
"POT-Creation-Date: 2016-12-09 17:00+0000\n"
|
||||
"PO-Revision-Date: 2016-12-09 17:00+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n"
|
||||
"Language-Team: French (Switzerland) (https://www.transifex.com/oca/"
|
||||
"teams/23907/fr_CH/)\n"
|
||||
"Language: fr_CH\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr_CH\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:39
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
@@ -35,7 +36,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:74
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Alejandro Santana <alejandrosantana@anubia.es>, 2016
|
||||
msgid ""
|
||||
@@ -12,14 +12,14 @@ msgstr ""
|
||||
"PO-Revision-Date: 2016-12-09 17:00+0000\n"
|
||||
"Last-Translator: Alejandro Santana <alejandrosantana@anubia.es>, 2016\n"
|
||||
"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n"
|
||||
"Language: gl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: gl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:39
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
@@ -35,7 +35,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:74
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
42
account_bank_statement_import_qif/i18n/hr.po
Normal file
42
account_bank_statement_import_qif/i18n/hr.po
Normal file
@@ -0,0 +1,42 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2018
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-06-08 08:27+0000\n"
|
||||
"PO-Revision-Date: 2018-06-08 08:27+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
||||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.model,name:account_bank_statement_import_qif.model_account_bank_statement_import
|
||||
msgid "Import Bank Statement"
|
||||
msgstr "Uvoz bankovnog izvoda"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: model:ir.ui.view,arch_db:account_bank_statement_import_qif.account_bank_statement_import_view
|
||||
msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
@@ -1,25 +1,27 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Lithuanian (Lithuania) (https://www.transifex.com/oca/teams/23907/lt_LT/)\n"
|
||||
"Language-Team: Lithuanian (Lithuania) (https://www.transifex.com/oca/"
|
||||
"teams/23907/lt_LT/)\n"
|
||||
"Language: lt_LT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: lt_LT\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
|
||||
"%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Neįmanoma iššifruoti QIF failo."
|
||||
@@ -35,7 +37,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr "Failas arba ne banko išrašas arba suformuotas neteisingai."
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# Imre Kristoffer Eilertsen <imreeil42@gmail.com>, 2016
|
||||
msgid ""
|
||||
@@ -11,15 +11,16 @@ msgstr ""
|
||||
"POT-Creation-Date: 2016-12-09 17:00+0000\n"
|
||||
"PO-Revision-Date: 2016-12-09 17:00+0000\n"
|
||||
"Last-Translator: Imre Kristoffer Eilertsen <imreeil42@gmail.com>, 2016\n"
|
||||
"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n"
|
||||
"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/"
|
||||
"teams/23907/nb_NO/)\n"
|
||||
"Language: nb_NO\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nb_NO\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:39
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr ""
|
||||
@@ -35,7 +36,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:74
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Kon het QIF bestand niet ontcijferen."
|
||||
@@ -35,7 +35,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
|
||||
"teams/23907/pt_BR/)\n"
|
||||
"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_BR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Não foi possível decifrar o arquivo QIF."
|
||||
@@ -35,7 +36,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr "O arquivo não é um extrato bancário ou o formato é incorreto."
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
|
||||
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/"
|
||||
"teams/23907/pt_PT/)\n"
|
||||
"Language: pt_PT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_PT\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "Não foi possível decifrar o ficheiro QIF."
|
||||
@@ -35,7 +36,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,25 +1,26 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_bank_statement_import_qif
|
||||
#
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-11 21:55+0000\n"
|
||||
"PO-Revision-Date: 2017-04-11 21:55+0000\n"
|
||||
"POT-Creation-Date: 2017-12-17 03:38+0000\n"
|
||||
"PO-Revision-Date: 2017-12-17 03:38+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sl\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:38
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:34
|
||||
#, python-format
|
||||
msgid "Could not decipher the QIF file."
|
||||
msgstr "QIF datoteke ni bilo mogoče dešifrirati."
|
||||
@@ -35,7 +36,7 @@ msgid "Quicken Interchange Format (.qif)"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_bank_statement_import_qif
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:73
|
||||
#: code:addons/account_bank_statement_import_qif/wizards/account_bank_statement_import_qif.py:69
|
||||
#, python-format
|
||||
msgid "This file is either not a bank statement or is not correctly formed."
|
||||
msgstr "Ta datoteka ni bančni izpisek, ali pa ni pravilno oblikovana."
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import test_import_bank_statement
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Odoo S. A.
|
||||
# Copyright 2015 Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
# Copyright 2015 Ronald Portier <rportier@therp.nl>
|
||||
# Copyright 2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# Copyright 2016-2017 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
from odoo.modules.module import get_module_resource
|
||||
import base64
|
||||
|
||||
|
||||
class TestQifFile(TransactionCase):
|
||||
@@ -32,7 +32,7 @@ class TestQifFile(TransactionCase):
|
||||
qif_file_path = get_module_resource(
|
||||
'account_bank_statement_import_qif', 'tests', 'test_qif.qif',
|
||||
)
|
||||
qif_file = open(qif_file_path, 'rb').read().encode('base64')
|
||||
qif_file = base64.b64encode(open(qif_file_path, 'rb').read())
|
||||
wizard = self.statement_import_model.with_context(
|
||||
journal_id=self.journal.id
|
||||
).create(
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import account_bank_statement_import_qif
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Odoo S. A.
|
||||
# Copyright 2015 Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
# Copyright 2015 Ronald Portier <rportier@therp.nl>
|
||||
# Copyright 2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# Copyright 2016-2017 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import StringIO
|
||||
import dateutil.parser
|
||||
|
||||
from odoo.tools.translate import _
|
||||
@@ -18,16 +16,14 @@ class AccountBankStatementImport(models.TransientModel):
|
||||
|
||||
@api.model
|
||||
def _check_qif(self, data_file):
|
||||
return data_file.strip().startswith('!Type:')
|
||||
return data_file.strip().startswith(b'!Type:')
|
||||
|
||||
def _parse_file(self, data_file):
|
||||
if not self._check_qif(data_file):
|
||||
return super(AccountBankStatementImport, self)._parse_file(
|
||||
data_file)
|
||||
try:
|
||||
file_data = ""
|
||||
for line in StringIO.StringIO(data_file).readlines():
|
||||
file_data += line
|
||||
file_data = data_file.decode()
|
||||
if '\r' in file_data:
|
||||
data_list = file_data.split('\r')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user