diff --git a/README.md b/README.md index b81fe07..b915695 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,12 @@ This repository hosts: * additionnal parsers and import features inspired by v7.0 branch from https://github.com/OCA/bank-payment and https://github.com/OCA/bank-statement-reconcile [//]: # (addons) + Available addons ---------------- addon | version | summary --- | --- | --- -[account_bank_statement_import](account_bank_statement_import/) | 8.0.1.0.2 | Account Bank Statement Import +[account_bank_statement_import](account_bank_statement_import/) | 8.0.1.1.0 | Account Bank Statement Import [account_bank_statement_import_camt](account_bank_statement_import_camt/) | 8.0.0.4.0 | CAMT Format Bank Statements Import [account_bank_statement_import_mt940_base](account_bank_statement_import_mt940_base/) | 8.0.1.1.1 | MT940 Bank Statements Import [account_bank_statement_import_mt940_nl_ing](account_bank_statement_import_mt940_nl_ing/) | 8.0.0.4.0 | MT940 IBAN ING Format Bank Statements Import diff --git a/account_bank_statement_import/README.rst b/account_bank_statement_import/README.rst index e83688f..0d3d7c4 100644 --- a/account_bank_statement_import/README.rst +++ b/account_bank_statement_import/README.rst @@ -38,6 +38,7 @@ Contributors * Alexis de Lattre * Laurent Mignon * Ronald Portier +* Luc De Meyer Maintainer ---------- diff --git a/account_bank_statement_import/__openerp__.py b/account_bank_statement_import/__openerp__.py index 6961e9a..ba892be 100644 --- a/account_bank_statement_import/__openerp__.py +++ b/account_bank_statement_import/__openerp__.py @@ -2,7 +2,7 @@ { 'name': 'Account Bank Statement Import', 'category': 'Banking addons', - 'version': '8.0.1.0.2', + 'version': '8.0.1.1.0', 'license': 'AGPL-3', 'author': 'OpenERP SA,' 'Odoo Community Association (OCA)', @@ -11,6 +11,7 @@ 'data': [ 'views/account_config_settings.xml', 'views/account_bank_statement_import_view.xml', + 'views/account_journal.xml', ], 'demo': [ 'demo/fiscalyear_period.xml', diff --git a/account_bank_statement_import/i18n/de.po b/account_bank_statement_import/i18n/de.po index 9d3b9f0..e013aad 100644 --- a/account_bank_statement_import/i18n/de.po +++ b/account_bank_statement_import/i18n/de.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-21 16:09+0000\n" -"PO-Revision-Date: 2016-09-18 08:13+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: German (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/de/)\n" "MIME-Version: 1.0\n" @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d Transaktionen wurden bereits importiert und dabei ignoriert." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 Transaktion wurde importiert und ignoriert." @@ -60,7 +60,7 @@ msgid "" msgstr "Das Journal der Finanzbuchhaltung mit Bezug auf den Kontoauszug, den Sie importieren. Es wurde manuell ausgewählt für Auszugformate, die keine automatische Journalerkennung erlauben (zum Beispiel QIF)." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Bereits importierte Posten" @@ -70,6 +70,11 @@ msgstr "Bereits importierte Posten" msgid "Bank Accounts" msgstr "Bankkonten" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Kontoauszug" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -86,10 +91,11 @@ msgid "Bank statement import" msgstr "Kontoauszugimport" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Kann das Journal zum Import nicht ermitteln." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -103,7 +109,7 @@ msgid "Cancel" msgstr "Abbrechen" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -125,6 +131,11 @@ msgstr "Erstellt am" msgid "Display Name" msgstr "Anzeigename" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -152,6 +163,14 @@ msgstr "Wie Sie Ihre Kontoauszüge importieren:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -175,6 +194,7 @@ msgstr "Import-ID" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Journal" @@ -199,31 +219,31 @@ msgid "Sanitized Account Number" msgstr "Bereinigte Kontonummer" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "Währung des Kontoauszugs ist %d, die des Unternehmens jedoch %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "Währung des Kontoauszugs ist %d, die des Journals jedoch %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "Kontoauszug hat ungültige Währung %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "Das Konto dieses Kontoauszugs ist einem anderen Journal zugeordnet." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -231,7 +251,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -239,13 +259,13 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Diese Datei enthält keinen Auszug." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Diese Datei enthält keine Transaktion." diff --git a/account_bank_statement_import/i18n/es.po b/account_bank_statement_import/i18n/es.po index 177f424..0fcc39c 100644 --- a/account_bank_statement_import/i18n/es.po +++ b/account_bank_statement_import/i18n/es.po @@ -9,8 +9,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-10-14 13:36+0000\n" -"PO-Revision-Date: 2016-10-26 09:53+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/es/)\n" "MIME-Version: 1.0\n" @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d transacciones han sido ya importadas y se omitirán." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 transacción ha sido ya importada y se omitirá." @@ -61,7 +61,7 @@ msgid "" msgstr "Diario contable asociado al extracto que está importando. Se debe seleccionar manualmente para los extractos en formatos que no permiten detectar el diario automáticamente (p.e., QIF)." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Elementos ya importados" @@ -71,6 +71,11 @@ msgstr "Elementos ya importados" msgid "Bank Accounts" msgstr "Cuentas bancarias" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extracto bancario" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -87,10 +92,11 @@ msgid "Bank statement import" msgstr "Importar extracto bancario" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "No se puede determinar el diario a importar." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -104,7 +110,7 @@ msgid "Cancel" msgstr "Cancelar" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -126,6 +132,11 @@ msgstr "Creado en" msgid "Display Name" msgstr "Nombre mostrado" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -153,6 +164,14 @@ msgstr "Cómo importar su extracto bancario:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -176,6 +195,7 @@ msgstr "Importar ID" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Diario" @@ -200,31 +220,31 @@ msgid "Sanitized Account Number" msgstr "Número de cuenta validado" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "El identificador de divisa del extracto es %d, pero la divisa de la compañía es %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "El identificador de divisa del extracto es %d, pero el identificador de divisa del diario es %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "El extracto tiene un código de divisa incorrecto: %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "La cuenta de este extracto está enlazada a otro diario." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -232,7 +252,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -240,13 +260,13 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Este archivo no contiene ningún extracto." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Este archivo no contiene ninguna transacción." diff --git a/account_bank_statement_import/i18n/fi.po b/account_bank_statement_import/i18n/fi.po index 782f3b2..0d54bfe 100644 --- a/account_bank_statement_import/i18n/fi.po +++ b/account_bank_statement_import/i18n/fi.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-14 01:22+0000\n" -"PO-Revision-Date: 2017-01-17 12:07+0000\n" -"Last-Translator: Jarmo Kortetjärvi \n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Finnish (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/fi/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "" @@ -60,7 +60,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "" @@ -70,6 +70,11 @@ msgstr "" msgid "Bank Accounts" msgstr "Pankkitilit" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -86,9 +91,10 @@ msgid "Bank statement import" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." +msgid "" +"Can not determine journal for import for account number %s and currency %s." msgstr "" #. module: account_bank_statement_import @@ -103,7 +109,7 @@ msgid "Cancel" msgstr "Peruuta" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -125,6 +131,11 @@ msgstr "Luotu" msgid "Display Name" msgstr "Nimi" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -152,6 +163,14 @@ msgstr "Kuinka tuoda pankkiaineisto:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -175,6 +194,7 @@ msgstr "Tuonnin ID" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Piväkirja" @@ -199,31 +219,31 @@ msgid "Sanitized Account Number" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -231,7 +251,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -239,13 +259,13 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "" diff --git a/account_bank_statement_import/i18n/fr.po b/account_bank_statement_import/i18n/fr.po index 3d5587f..bfe8a69 100644 --- a/account_bank_statement_import/i18n/fr.po +++ b/account_bank_statement_import/i18n/fr.po @@ -13,9 +13,9 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-24 00:33+0000\n" -"PO-Revision-Date: 2016-12-30 09:19+0000\n" -"Last-Translator: Christophe CHAUVET \n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: French (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -24,13 +24,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d mouvements déjà importés ont été ignorés." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 mouvement déjà importé a été ignoré." @@ -65,7 +65,7 @@ msgid "" msgstr "Le compte du journal lié au relevé de banque que vous importez. Il est à sélectionner manuellement pour les formats de relevés qui n'autorisent pas la détection automatique du journal (QIF par exemple)." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Lignes déjà importées" @@ -75,6 +75,11 @@ msgstr "Lignes déjà importées" msgid "Bank Accounts" msgstr "Comptes Bancaire" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Relevé bancaire" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -91,10 +96,11 @@ msgid "Bank statement import" msgstr "Relevé bancaire importé" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Impossible de déterminer le journal pour l'import." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -108,7 +114,7 @@ msgid "Cancel" msgstr "Annuler" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -130,6 +136,11 @@ msgstr "Créé le " msgid "Display Name" msgstr "Nom à afficher" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -157,6 +168,14 @@ msgstr "Comment importe votre relevé bancaire :" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -180,6 +199,7 @@ msgstr "Id Import" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Journal" @@ -204,31 +224,31 @@ msgid "Sanitized Account Number" msgstr "Nettoyage du numéro de compte" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "L'Id de la devise du relevé de banque est %d, celui de la société est id = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "L'Id de la devise du relevé de banque est %d, celui du journal est id = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "Le relevé de banque a une code de devise non valide %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "Le numéro de compte de ce relevé correspond à un autre journal." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -236,7 +256,7 @@ msgid "" msgstr "La devise du relevé de banque (%s) n'est pas la même que la devise société (%s) !" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -244,13 +264,13 @@ msgid "" msgstr "La devise du relevé de banque (%s) n'est pas la même que la devise sur le journal %s (%s) !" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Ce fichier ne comporte aucun relevé." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Ce fichier ne comporte aucune transaction." diff --git a/account_bank_statement_import/i18n/it.po b/account_bank_statement_import/i18n/it.po index 85bfcd0..f9e1422 100644 --- a/account_bank_statement_import/i18n/it.po +++ b/account_bank_statement_import/i18n/it.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-10-14 13:36+0000\n" -"PO-Revision-Date: 2016-10-11 13:47+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Italian (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/it/)\n" "MIME-Version: 1.0\n" @@ -18,13 +18,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "" @@ -59,7 +59,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "" @@ -69,6 +69,11 @@ msgstr "" msgid "Bank Accounts" msgstr "" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Estratto conto" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -85,9 +90,10 @@ msgid "Bank statement import" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." +msgid "" +"Can not determine journal for import for account number %s and currency %s." msgstr "" #. module: account_bank_statement_import @@ -102,7 +108,7 @@ msgid "Cancel" msgstr "Annulla" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -124,6 +130,11 @@ msgstr "Creato il" msgid "Display Name" msgstr "Nome da visualizzare" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -151,6 +162,14 @@ msgstr "" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -174,6 +193,7 @@ msgstr "" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Sezionale" @@ -198,31 +218,31 @@ msgid "Sanitized Account Number" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -230,7 +250,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -238,13 +258,13 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "" diff --git a/account_bank_statement_import/i18n/lt_LT.po b/account_bank_statement_import/i18n/lt_LT.po index af399a3..6eef4d3 100644 --- a/account_bank_statement_import/i18n/lt_LT.po +++ b/account_bank_statement_import/i18n/lt_LT.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-09 23:48+0000\n" -"PO-Revision-Date: 2016-03-09 23:48+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Lithuanian (Lithuania) (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/lt_LT/)\n" "MIME-Version: 1.0\n" @@ -19,13 +19,13 @@ msgstr "" "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 -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d transakcijos ignoruotos, nes jau buvo importuotos." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 transakcija ignoruota, nes jau buvo importuota." @@ -60,7 +60,7 @@ msgid "" msgstr "Sąskaitos žurnalas susijęs su banko išrašu, kurį jūs importuojate. Jis turi būti rankiniu būdu pasirinktas išrašų formatams, kurių sistema pati neaptinka (pvz. QIF)" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Importuoti įrašai" @@ -70,6 +70,11 @@ msgstr "Importuoti įrašai" msgid "Bank Accounts" msgstr "Banko sąskaitos" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -86,9 +91,10 @@ msgid "Bank statement import" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." +msgid "" +"Can not determine journal for import for account number %s and currency %s." msgstr "" #. module: account_bank_statement_import @@ -103,7 +109,7 @@ msgid "Cancel" msgstr "Atšaukti" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -120,6 +126,16 @@ msgstr "Sukūrė" msgid "Created on" msgstr "Sukurta" +#. module: account_bank_statement_import +#: field:account.bank.statement.import,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -132,6 +148,11 @@ msgid "" "here." msgstr "Gaukite savo banko išrašus elektronine forma ir pasirinkite juos čia." +#. module: account_bank_statement_import +#: field:account.bank.statement.import,hide_journal_field:0 +msgid "Hide the journal field in the view" +msgstr "" + #. module: account_bank_statement_import #: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view msgid "How to import your bank statement :" @@ -142,6 +163,14 @@ msgstr "Kaip importuoti banko išrašą :" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -165,9 +194,15 @@ msgstr "Importuoti ID" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Žurnalas" +#. module: account_bank_statement_import +#: field:account.bank.statement.import,__last_update:0 +msgid "Last Modified on" +msgstr "" + #. module: account_bank_statement_import #: field:account.bank.statement.import,write_uid:0 msgid "Last Updated by" @@ -184,31 +219,31 @@ msgid "Sanitized Account Number" msgstr "Išbraukytas sąskaitos numeris" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "Šio išrašo sąskaita yra susieta su kitu žurnalu." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -216,7 +251,7 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -224,13 +259,13 @@ msgid "" msgstr "" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Faile nerasta jokių išrašų." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Faile nėra jokių pavedimų." diff --git a/account_bank_statement_import/i18n/nl.po b/account_bank_statement_import/i18n/nl.po index 1eb4d70..4e2a0f5 100644 --- a/account_bank_statement_import/i18n/nl.po +++ b/account_bank_statement_import/i18n/nl.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-21 16:09+0000\n" -"PO-Revision-Date: 2016-09-17 18:43+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: Dutch (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/nl/)\n" "MIME-Version: 1.0\n" @@ -21,13 +21,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d Transacties zijn overgeslagen omdat ze al reeds waren geïmporteerd." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1. Transactie was al geïmporteerd en is overgeslagen." @@ -62,7 +62,7 @@ msgid "" msgstr "Het dagboek wat hoort bij het bankafschrift welke u importeert. Het dient handmatig te worden gekozen voor bankafschrift formaten welke geen automatische dagboek detectie ondersteunen (bijvoorbeeld QIF)" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Al eerder geïmporteerde regels" @@ -72,6 +72,11 @@ msgstr "Al eerder geïmporteerde regels" msgid "Bank Accounts" msgstr "Bankrekeningen" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Bankafschrift" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -88,10 +93,11 @@ msgid "Bank statement import" msgstr "Importeer bankafschrift" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Kan niet bepalen welk dagboek gebruikt moet worden." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -105,7 +111,7 @@ msgid "Cancel" msgstr "Annuleren" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -127,6 +133,11 @@ msgstr "Aangemaakt op" msgid "Display Name" msgstr "Te tonen naam" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -154,6 +165,14 @@ msgstr "Hoe uw bankafschrift te importeren:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -177,6 +196,7 @@ msgstr "Import ID" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Dagboek" @@ -201,31 +221,31 @@ msgid "Sanitized Account Number" msgstr "Gestandaardiseerd rekeningnummer" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "Valuta id van afschrift = %d, maar valuta id van bedrijf = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "Valuta id van afschrift = %d, maar valuta id van dagboek = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "Bankafschrift heeft ongeldige valutacode %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "Het rekeningnummer van dit afschrift is gekoppeld aan een ander dagboek." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -233,7 +253,7 @@ msgid "" msgstr "De valuta van het afschrift (%s) is niet gelijk aan de valuta van het bedrijf (%s)!" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -241,13 +261,13 @@ msgid "" msgstr "De valuta van het afschrift (%s) is niet hetzelfde als de valuta van het dagboek %s (%s)!" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Dit bestand bevat geen enkel afschrift." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Dit bestand bevat geen enkele transactie." diff --git a/account_bank_statement_import/i18n/pt_BR.po b/account_bank_statement_import/i18n/pt_BR.po index 0680d14..1086d7a 100644 --- a/account_bank_statement_import/i18n/pt_BR.po +++ b/account_bank_statement_import/i18n/pt_BR.po @@ -11,9 +11,9 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-21 16:09+0000\n" -"PO-Revision-Date: 2016-10-04 09:43+0000\n" -"Last-Translator: Paulo Ricardo \n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -22,13 +22,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d transações já foram importadas e foram ignoradas." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 transação já foi importada e foi ignorada." @@ -63,7 +63,7 @@ msgid "" msgstr "O diário relacionado ao seu extrato bancário que está importando. Deve ser escolhido manualmente para formatos que não permitem a detecção do diário automática. (QIF por exemplo)." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Itens já importados" @@ -73,6 +73,11 @@ msgstr "Itens já importados" msgid "Bank Accounts" msgstr "Contas bancárias" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extrato bancário" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -89,10 +94,11 @@ msgid "Bank statement import" msgstr "Importar extrato bancário" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Não pode determinar o diário para importar" +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -106,7 +112,7 @@ msgid "Cancel" msgstr "Cancelar" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -128,6 +134,11 @@ msgstr "Criado em" msgid "Display Name" msgstr "Nome para Mostrar" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -155,6 +166,14 @@ msgstr "Como importar seu extrato bancário:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -178,6 +197,7 @@ msgstr "Id da importação" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Diário" @@ -202,31 +222,31 @@ msgid "Sanitized Account Number" msgstr "Número da conta sanitizado" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "Moeda do extrato é %d, mas a moeda da empresa é %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "Moeda do extrato é %d, mas a moeda do diário é %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "Extrato tem código de moeda inválido %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "A conta deste extrato está ligada a outro diário." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -234,7 +254,7 @@ msgid "" msgstr "A moeda do extrato bancário (%s) não é a mesma que a moeda da empresa (%s)!" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -242,13 +262,13 @@ msgid "" msgstr "A moeda do extrato bancário (%s) não é a mesma que a moeda do Diário %s (%s)!" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "O arquivo não contém nenhum registro." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "O arquivo não contém nenhuma transação." diff --git a/account_bank_statement_import/i18n/pt_PT.po b/account_bank_statement_import/i18n/pt_PT.po index 66d1484..9306ad8 100644 --- a/account_bank_statement_import/i18n/pt_PT.po +++ b/account_bank_statement_import/i18n/pt_PT.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-18 10:27+0000\n" -"PO-Revision-Date: 2016-09-07 09:47+0000\n" -"Last-Translator: Pedro Castro Silva \n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-01 03:20+0000\n" +"Last-Translator: OCA Transbot \n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/pt_PT/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d transações já tinham sido importadas e foram ignoradas." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 transação já tinha sido importada e foi ignorada" @@ -60,7 +60,7 @@ msgid "" msgstr "Diário Contabilístico relacionado com o extrato que está a importar. Tem que ser escolhido manualmente para formatos de extratos que não suportem deteção automática de diário (como o QIF, por exemplo)." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Items previamente importados" @@ -70,6 +70,11 @@ msgstr "Items previamente importados" msgid "Bank Accounts" msgstr "Contas Bancárias" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extrato Bancário" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -86,10 +91,11 @@ msgid "Bank statement import" msgstr "Importação de extrato bancário" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Não foi possível determinar o diário para a importação." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "" #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -103,7 +109,7 @@ msgid "Cancel" msgstr "Cancelar" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -125,6 +131,11 @@ msgstr "Criado em" msgid "Display Name" msgstr "Nome a Apresentar" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -152,6 +163,14 @@ msgstr "Como importar o seu extrato bancário :" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "" + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -175,6 +194,7 @@ msgstr "ID de importação" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Diário" @@ -199,31 +219,31 @@ msgid "Sanitized Account Number" msgstr "Número de Conta \"Polido\"" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "A id da moeda do extrato é %d mas a da empresa é %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "A id da moeda do extrato é %d mas a do diário é %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "O extrato tem um código de moeda inválido %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "A conta deste extrato está ligada a outro diário." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -231,7 +251,7 @@ msgid "" msgstr "A moeda do extrato bancário(%s) não é a mesma da da empresa (%s) !" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -239,13 +259,13 @@ msgid "" msgstr "A moeda do extrato bancário (%s) não é a mesma da do diário %s (%s) !" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "O ficheiro não contém qualquer extrato." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "O ficheiro não contém qualquer transação." diff --git a/account_bank_statement_import/i18n/sl.po b/account_bank_statement_import/i18n/sl.po index 6620308..8cbd664 100644 --- a/account_bank_statement_import/i18n/sl.po +++ b/account_bank_statement_import/i18n/sl.po @@ -3,13 +3,13 @@ # * account_bank_statement_import # # Translators: -# Matjaž Mozetič , 2015-2016 +# Matjaž Mozetič , 2015-2017 msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-11 07:26+0000\n" -"PO-Revision-Date: 2016-06-12 22:42+0000\n" +"POT-Creation-Date: 2017-03-01 03:20+0000\n" +"PO-Revision-Date: 2017-03-03 13:25+0000\n" "Last-Translator: Matjaž Mozetič \n" "Language-Team: Slovenian (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/sl/)\n" "MIME-Version: 1.0\n" @@ -19,13 +19,13 @@ msgstr "" "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 -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:407 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:411 #, python-format msgid "%d transactions had already been imported and were ignored." msgstr "%d transakcij je bilo že uvoženih in se prezrejo." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:410 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:414 #, python-format msgid "1 transaction had already been imported and was ignored." msgstr "1 transakcija je bila že uvožena in se prezre." @@ -60,7 +60,7 @@ msgid "" msgstr "Knjigovodski dnevnik v zvezi z bančnim izpiskom, ki ga uvažate. Formate izpiskov, ki ne omogočajo samodejne detekcije dnevnika (npr. QIF) izberite ročno." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:413 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:417 #, python-format msgid "Already imported items" msgstr "Že uvoženi predmeti" @@ -70,6 +70,11 @@ msgstr "Že uvoženi predmeti" msgid "Bank Accounts" msgstr "Bančni računi" +#. module: account_bank_statement_import +#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement +msgid "Bank Statement" +msgstr "Bančni izpisek" + #. module: account_bank_statement_import #: field:account.bank.statement.import,data_file:0 msgid "Bank Statement File" @@ -86,10 +91,11 @@ msgid "Bank statement import" msgstr "Uvoz bančnega izpiska" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:153 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:154 #, python-format -msgid "Can not determine journal for import." -msgstr "Ni mogoče določiti dnevnika za uvoz." +msgid "" +"Can not determine journal for import for account number %s and currency %s." +msgstr "Ni mogoče določiti dnevnika za uvoz številke konta %s in valute %s." #. module: account_bank_statement_import #: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:147 @@ -103,7 +109,7 @@ msgid "Cancel" msgstr "Preklic" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:193 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:197 #, python-format msgid "" "Could not make sense of the given file.\n" @@ -125,6 +131,11 @@ msgstr "Ustvarjeno" msgid "Display Name" msgstr "Prikazni naziv" +#. module: account_bank_statement_import +#: field:account.journal,enforce_sequence:0 +msgid "Enforce Sequence" +msgstr "Vsili zaporedje" + #. module: account_bank_statement_import #: field:account.config.settings,module_base_bank_account_number_unique:0 msgid "Enforce unique account numbers on bank accounts" @@ -152,6 +163,14 @@ msgstr "Kako se uvozi bančni izpisek:" msgid "ID" msgstr "ID" +#. module: account_bank_statement_import +#: help:account.journal,enforce_sequence:0 +msgid "" +"If checked, the Journal Sequence will determine the statement naming policy " +"even if the name is already set manually or by the statement import " +"software." +msgstr "Če označeno, bo dnevniško zaporedje določilo pravila imenovanja izpiska tudi, če je bil naziv izpiska nastavljen ročno ali preko programja za uvoz izpiska." + #. module: account_bank_statement_import #: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import #: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import @@ -175,6 +194,7 @@ msgstr "ID uvoza" #. module: account_bank_statement_import #: field:account.bank.statement.import,journal_id:0 +#: model:ir.model,name:account_bank_statement_import.model_account_journal msgid "Journal" msgstr "Dnevnik" @@ -199,31 +219,31 @@ msgid "Sanitized Account Number" msgstr "Številka očiščenega konta" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:282 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:286 #, python-format msgid "Statement currency id is %d, but company currency id = %d." msgstr "ID valute izpiska je %d, a ID valute družbe = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:265 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:269 #, python-format msgid "Statement currency id is %d, but journal currency id = %d." msgstr "ID valute izpiska je %d, a ID valute dnevnika = %d." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:219 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:223 #, python-format msgid "Statement has invalid currency code %s" msgstr "Izpisek ima neveljavno kodo valute %s" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:248 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:252 #, python-format msgid "The account of this statement is linked to another journal." msgstr "Konto tega izpiska je povezan z drugim dnevnikom." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:287 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:291 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the company " @@ -231,7 +251,7 @@ msgid "" msgstr "Valuta bančnega izpiska (%s) ni enaka valuti družbe (%s)!" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:270 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:274 #, python-format msgid "" "The currency of the bank statement (%s) is not the same as the currency of " @@ -239,13 +259,13 @@ msgid "" msgstr "Valuta na bančnem izpisku (%s) ne ustreza valuti dnevnika %s (%s) !" #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:203 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:207 #, python-format msgid "This file doesn't contain any statement." msgstr "Ta datoteka ne vsebuje izpiskov." #. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:208 +#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:212 #, python-format msgid "This file doesn't contain any transaction." msgstr "Ta datoteka ne vsebuje transakcij." diff --git a/account_bank_statement_import/models/__init__.py b/account_bank_statement_import/models/__init__.py index 7fbdca1..ea103da 100644 --- a/account_bank_statement_import/models/__init__.py +++ b/account_bank_statement_import/models/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- - from . import res_partner_bank +from . import account_bank_statement from . import account_bank_statement_import from . import account_config_settings +from . import account_journal diff --git a/account_bank_statement_import/models/account_bank_statement.py b/account_bank_statement_import/models/account_bank_statement.py new file mode 100644 index 0000000..1d8c05a --- /dev/null +++ b/account_bank_statement_import/models/account_bank_statement.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# Copyright 2009-2016 Noviat +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from openerp import api, models + + +class AccountBankStatement(models.Model): + _inherit = 'account.bank.statement' + + @api.model + def create(self, vals): + if vals.get('name'): + journal = self.env['account.journal'].browse( + vals.get('journal_id')) + if journal.enforce_sequence: + vals['name'] = '/' + return super(AccountBankStatement, self).create(vals) diff --git a/account_bank_statement_import/models/account_bank_statement_import.py b/account_bank_statement_import/models/account_bank_statement_import.py index d47bfe8..3fbfbfd 100644 --- a/account_bank_statement_import/models/account_bank_statement_import.py +++ b/account_bank_statement_import/models/account_bank_statement_import.py @@ -150,7 +150,11 @@ class AccountBankStatementImport(models.TransientModel): journal_id = self._get_journal(currency_id, bank_account_id) # By now journal and account_number must be known if not journal_id: - raise UserError(_('Can not determine journal for import.')) + raise UserError( + _('Can not determine journal for import' + ' for account number %s and currency %s.') % + (account_number, currency_code) + ) # Prepare statement data to be used for bank statements creation stmt_vals = self._complete_statement( stmt_vals, journal_id, account_number) diff --git a/account_bank_statement_import/models/account_journal.py b/account_bank_statement_import/models/account_journal.py new file mode 100644 index 0000000..b49acdd --- /dev/null +++ b/account_bank_statement_import/models/account_journal.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +# Copyright 2009-2016 Noviat +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from openerp import models, fields + + +class account_journal(models.Model): + _inherit = 'account.journal' + + enforce_sequence = fields.Boolean( + string="Enforce Sequence", + help="If checked, the Journal Sequence will determine " + "the statement naming policy even if the name is already " + "set manually or by the statement import software.") diff --git a/account_bank_statement_import/models/res_partner_bank.py b/account_bank_statement_import/models/res_partner_bank.py index f633715..e3399b9 100644 --- a/account_bank_statement_import/models/res_partner_bank.py +++ b/account_bank_statement_import/models/res_partner_bank.py @@ -45,9 +45,8 @@ class ResPartnerBank(models.Model): self.sanitized_acc_number = self._sanitize_account_number( self.acc_number) - @api.returns('self') - def search(self, cr, user, args, offset=0, limit=None, order=None, - context=None, count=False): + @api.model + def search(self, args, offset=0, limit=None, order=None, count=False): pos = 0 while pos < len(args): if args[pos][0] == 'acc_number': @@ -62,5 +61,4 @@ class ResPartnerBank(models.Model): args[pos] = ('sanitized_acc_number', op, value) pos += 1 return super(ResPartnerBank, self).search( - cr, user, args, offset=offset, limit=limit, order=order, - context=context, count=count) + args, offset=offset, limit=limit, order=order, count=count) diff --git a/account_bank_statement_import/tests/test_import_bank_statement.py b/account_bank_statement_import/tests/test_import_bank_statement.py index 42021ab..bf7b3df 100644 --- a/account_bank_statement_import/tests/test_import_bank_statement.py +++ b/account_bank_statement_import/tests/test_import_bank_statement.py @@ -75,8 +75,9 @@ class TestAccountBankStatementImport(TransactionCase): self.statement_import_model._create_bank_account('123456789') with self.assertRaises(UserError) as e: self.statement_import_model._import_statement(stmt_vals.copy()) - self.assertEqual(e.exception.message, - 'Can not determine journal for import.') + self.assertEqual( + e.exception.message[:25], 'Can not determine journal' + ) def test_create_bank_account(self): """Checks that the bank_account created by the import belongs to the diff --git a/account_bank_statement_import/views/account_journal.xml b/account_bank_statement_import/views/account_journal.xml new file mode 100644 index 0000000..87f9289 --- /dev/null +++ b/account_bank_statement_import/views/account_journal.xml @@ -0,0 +1,17 @@ + + + + + + account.journal.enforce_sequence + account.journal + + + + + + + + + + diff --git a/account_bank_statement_import_camt/camt.py b/account_bank_statement_import_camt/camt.py index aed01db..2ea3c00 100644 --- a/account_bank_statement_import_camt/camt.py +++ b/account_bank_statement_import_camt/camt.py @@ -200,8 +200,12 @@ class CamtParser(object): transaction = statement.create_transaction() self.parse_transaction(ns, entry_node, transaction) if statement['transactions']: - statement.date = datetime.strptime( - statement['transactions'][0].execution_date, "%Y-%m-%d") + execution_date = statement['transactions'][0].execution_date + statement.date = datetime.strptime(execution_date, "%Y-%m-%d") + # Prepend date of first transaction to improve id uniquenes + if execution_date not in statement.statement_id: + statement.statement_id = "%s-%s" % ( + execution_date, statement.statement_id) return statement def check_version(self, ns, root): diff --git a/account_bank_statement_import_camt/tests/test_import_bank_statement.py b/account_bank_statement_import_camt/tests/test_import_bank_statement.py index d14aca9..42e83d2 100644 --- a/account_bank_statement_import_camt/tests/test_import_bank_statement.py +++ b/account_bank_statement_import_camt/tests/test_import_bank_statement.py @@ -37,7 +37,7 @@ class TestImport(TestStatementFile): ] self._test_statement_import( 'account_bank_statement_import_camt', 'test-camt053.xml', - '1234Test/1', + '2014-01-05-1234Test/1', local_account='NL77ABNA0574908765', start_balance=15568.27, end_balance=15121.12, transactions=transactions @@ -47,6 +47,6 @@ class TestImport(TestStatementFile): """Test import of multiple statements from zip file.""" self._test_statement_import( 'account_bank_statement_import_camt', 'test-camt053.zip', - '1234Test/2', # Only name of first statement + '2014-02-05-1234Test/2', # Only name of first statement local_account='NL77ABNA0574908765', ) diff --git a/account_bank_statement_import_ofx/account_bank_statement_import_ofx.py b/account_bank_statement_import_ofx/account_bank_statement_import_ofx.py index 2bf7312..695d095 100644 --- a/account_bank_statement_import_ofx/account_bank_statement_import_ofx.py +++ b/account_bank_statement_import_ofx/account_bank_statement_import_ofx.py @@ -83,12 +83,12 @@ class AccountBankStatementImport(models.TransientModel): "The file might not be valid.\n\n %s" % e.message )) + balance = float(ofx.account.statement.balance) vals_bank_statement = { 'name': ofx.account.number, 'transactions': transactions, - 'balance_start': ofx.account.statement.balance, - 'balance_end_real': - float(ofx.account.statement.balance) + total_amt, + 'balance_start': balance - total_amt, + 'balance_end_real': balance, } return ofx.account.statement.currency, ofx.account.number, [ vals_bank_statement] diff --git a/account_bank_statement_import_ofx/tests/test_import_bank_statement.py b/account_bank_statement_import_ofx/tests/test_import_bank_statement.py index bbcc1bb..13e622e 100644 --- a/account_bank_statement_import_ofx/tests/test_import_bank_statement.py +++ b/account_bank_statement_import_ofx/tests/test_import_bank_statement.py @@ -23,8 +23,8 @@ class TestOfxFile(TransactionCase): bank_statement.import_file() bank_st_record = self.bank_statement_model.search( [('name', '=', '123456')])[0] - self.assertEquals(bank_st_record.balance_start, 2156.56) - self.assertEquals(bank_st_record.balance_end_real, 1796.56) + self.assertEquals(bank_st_record.balance_start, 2516.56) + self.assertEquals(bank_st_record.balance_end_real, 2156.56) line = bank_st_record.line_ids[0] self.assertEquals(line.name, 'Agrolait') diff --git a/account_bank_statement_import_save_file/i18n/de.po b/account_bank_statement_import_save_file/i18n/de.po index 11e1c8d..370e85c 100644 --- a/account_bank_statement_import_save_file/i18n/de.po +++ b/account_bank_statement_import_save_file/i18n/de.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: bank-statement-import (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-21 16:09+0000\n" -"PO-Revision-Date: 2016-10-04 09:43+0000\n" +"POT-Creation-Date: 2017-03-04 01:15+0000\n" +"PO-Revision-Date: 2017-03-06 19:00+0000\n" "Last-Translator: OCA Transbot \n" "Language-Team: German (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/de/)\n" "MIME-Version: 1.0\n" @@ -51,4 +51,4 @@ msgstr "Importierte Datei" #. module: account_bank_statement_import_save_file #: field:account.bank.statement,import_user:0 msgid "Owner" -msgstr "" +msgstr "Besitzer"