From 476a25a9e5f247fec2885c03ef58d1be7b490acb Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 6 Dec 2016 12:51:53 +0100 Subject: [PATCH] [REM] account_bank_statement_import: Removed as already included in v9 --- account_bank_statement_import_base/README.rst | 59 --- .../__init__.py | 1 - .../__openerp__.py | 23 -- .../demo/fiscalyear_period.xml | 119 ------ .../demo/partner_bank.xml | 38 -- .../i18n/account_bank_statement_import.pot | 218 ----------- account_bank_statement_import_base/i18n/es.po | 250 ------------ account_bank_statement_import_base/i18n/fr.po | 255 ------------ account_bank_statement_import_base/i18n/lt.po | 212 ---------- .../i18n/lt_LT.po | 251 ------------ account_bank_statement_import_base/i18n/nl.po | 252 ------------ .../i18n/pt_BR.po | 251 ------------ account_bank_statement_import_base/i18n/sl.po | 251 ------------ .../migrations/8.0.1.0/post-migrate.py | 33 -- .../models/__init__.py | 5 - .../models/account_bank_statement_import.py | 366 ------------------ .../models/account_config_settings.py | 27 -- .../models/res_partner_bank.py | 66 ---- .../parserlib.py | 236 ----------- .../static/description/icon.png | Bin 6907 -> 0 bytes .../static/description/icon_src.svg | 178 --------- .../tests/__init__.py | 5 - .../tests/test_import_bank_statement.py | 90 ----- .../tests/test_import_file.py | 131 ------- .../tests/test_res_partner_bank.py | 70 ---- .../account_bank_statement_import_view.xml | 44 --- .../views/account_config_settings.xml | 17 - 27 files changed, 3448 deletions(-) delete mode 100644 account_bank_statement_import_base/README.rst delete mode 100644 account_bank_statement_import_base/__init__.py delete mode 100644 account_bank_statement_import_base/__openerp__.py delete mode 100644 account_bank_statement_import_base/demo/fiscalyear_period.xml delete mode 100644 account_bank_statement_import_base/demo/partner_bank.xml delete mode 100644 account_bank_statement_import_base/i18n/account_bank_statement_import.pot delete mode 100644 account_bank_statement_import_base/i18n/es.po delete mode 100644 account_bank_statement_import_base/i18n/fr.po delete mode 100644 account_bank_statement_import_base/i18n/lt.po delete mode 100644 account_bank_statement_import_base/i18n/lt_LT.po delete mode 100644 account_bank_statement_import_base/i18n/nl.po delete mode 100644 account_bank_statement_import_base/i18n/pt_BR.po delete mode 100644 account_bank_statement_import_base/i18n/sl.po delete mode 100644 account_bank_statement_import_base/migrations/8.0.1.0/post-migrate.py delete mode 100644 account_bank_statement_import_base/models/__init__.py delete mode 100644 account_bank_statement_import_base/models/account_bank_statement_import.py delete mode 100644 account_bank_statement_import_base/models/account_config_settings.py delete mode 100644 account_bank_statement_import_base/models/res_partner_bank.py delete mode 100644 account_bank_statement_import_base/parserlib.py delete mode 100644 account_bank_statement_import_base/static/description/icon.png delete mode 100644 account_bank_statement_import_base/static/description/icon_src.svg delete mode 100644 account_bank_statement_import_base/tests/__init__.py delete mode 100644 account_bank_statement_import_base/tests/test_import_bank_statement.py delete mode 100644 account_bank_statement_import_base/tests/test_import_file.py delete mode 100644 account_bank_statement_import_base/tests/test_res_partner_bank.py delete mode 100644 account_bank_statement_import_base/views/account_bank_statement_import_view.xml delete mode 100644 account_bank_statement_import_base/views/account_config_settings.xml diff --git a/account_bank_statement_import_base/README.rst b/account_bank_statement_import_base/README.rst deleted file mode 100644 index 9080828..0000000 --- a/account_bank_statement_import_base/README.rst +++ /dev/null @@ -1,59 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 - -Account Bank Statement Import -============================= - -CAUTION: this module was renamed in the 9.0 branch to avoid conflicts with the -upstream account_bank_statement_import module added in odoo 9. Exercise caution -when porting. - -This module add a generic wizard to import Bank Statements. It also extend -the bank account module to sanitize the account number and extend the search -method to use this field when searching on account_number. - -The module has been initiated by a backport of the new framework developed -by Odoo for V9 at its early stage. It's no more kept in sync with the V9 since -it has reach a stage where maintaining a pure backport of 9.0 in 8.0 is not -feasible anymore - -Known issues / Roadmap -====================== - -* None - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. - - -Credits -======= - -Contributors ------------- - -* Odoo SA -* Pedro M. Baeza -* Alexis de Lattre -* Laurent Mignon -* Ronald Portier - -Maintainer ----------- - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -This module is maintained by the OCA. - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -To contribute to this module, please visit http://odoo-community.org. diff --git a/account_bank_statement_import_base/__init__.py b/account_bank_statement_import_base/__init__.py deleted file mode 100644 index 0650744..0000000 --- a/account_bank_statement_import_base/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/account_bank_statement_import_base/__openerp__.py b/account_bank_statement_import_base/__openerp__.py deleted file mode 100644 index d3bd609..0000000 --- a/account_bank_statement_import_base/__openerp__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- encoding: utf-8 -*- -{ - 'name': 'Account Bank Statement Import', - 'category': 'Banking addons', - 'version': '8.0.1.0.1', - 'author': 'OpenERP SA,' - 'Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/bank-statement-import', - 'depends': ['account'], - 'data': [ - "views/account_config_settings.xml", - 'views/account_bank_statement_import_view.xml', - ], - 'demo': [ - 'demo/fiscalyear_period.xml', - 'demo/partner_bank.xml', - ], - 'auto_install': False, -# CAUTION: this module was renamed in the 9.0 branch to avoid conflicts with the -# upstream account_bank_statement_import module added in odoo 9. Exercise caution -# when porting. - 'installable': False, -} diff --git a/account_bank_statement_import_base/demo/fiscalyear_period.xml b/account_bank_statement_import_base/demo/fiscalyear_period.xml deleted file mode 100644 index 41b4be3..0000000 --- a/account_bank_statement_import_base/demo/fiscalyear_period.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/account_bank_statement_import_base/demo/partner_bank.xml b/account_bank_statement_import_base/demo/partner_bank.xml deleted file mode 100644 index 8b18359..0000000 --- a/account_bank_statement_import_base/demo/partner_bank.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - Agrolait - 00987654319 - - bank - - - - - China Export - 00987654322 - - bank - - - - - Delta PC - 10987654320 - - bank - - - - - Epic Technologies - 10987654322 - - bank - - - - - diff --git a/account_bank_statement_import_base/i18n/account_bank_statement_import.pot b/account_bank_statement_import_base/i18n/account_bank_statement_import.pot deleted file mode 100644 index 4011933..0000000 --- a/account_bank_statement_import_base/i18n/account_bank_statement_import.pot +++ /dev/null @@ -1,218 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-06-11 12:15+0000\n" -"PO-Revision-Date: 2015-06-11 12:15+0000\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 -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:347 -#, python-format -msgid "%d transactions had already been imported and were ignored." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:350 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "2. Make sure you have installed the right module to support the file format." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "" - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "" - -#. module: account_bank_statement_import -#: sql_constraint:res.partner.bank:0 -msgid "Account Number must be unique" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:353 -#, python-format -msgid "Already imported items" -msgstr "" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:116 -#, python-format -msgid "Can not determine journal for import." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:154 -#, python-format -msgid "Could not make sense of the given file.\n" -"Did you install the module to support this type of file ?" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "Get you bank statements in electronic format from your bank and select them here." -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 :" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -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 -msgid "Import" -msgstr "" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -msgid "Sanitized Account Number" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:237 -#, 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/account_bank_statement_import.py:224 -#, 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/account_bank_statement_import.py:179 -#, python-format -msgid "Statement has invalid currency code %s" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:207 -#, 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/account_bank_statement_import.py:242 -#, python-format -msgid "The currency of the bank statement is not the same as the company currency !" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:229 -#, python-format -msgid "The currency of the bank statement is not the same as the currency of the journal !" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:163 -#, python-format -msgid "This file doesn't contain any statement." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:168 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:88 -#, python-format -msgid "You have already imported that file." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "" - diff --git a/account_bank_statement_import_base/i18n/es.po b/account_bank_statement_import_base/i18n/es.po deleted file mode 100644 index 583c73f..0000000 --- a/account_bank_statement_import_base/i18n/es.po +++ /dev/null @@ -1,250 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:47+0000\n" -"PO-Revision-Date: 2015-10-01 11:07+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" -"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 -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 transacción ha sido ya importada y se omitirá." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Descargue los extractos bancarios del sitio web de su banco." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Asegúrese de que ha instalado el módulo adecuado que soporte el formato de archivo." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Seleccione el archivo y pulse 'Importar'." - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Las transacciones de una cuenta bancaria sólo se pueden importar una vez" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:361 -#, python-format -msgid "Already imported items" -msgstr "Elementos ya importados" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Archivo de extracto bancario" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Línea de extracto bancario" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -msgid "Bank statement import" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Cancelar" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Creado por" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Creado en" - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -msgstr "Obtenga los extractos bancarios en formato electrónico de su banco y selecciónelos aquí." - -#. 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 :" -msgstr "Cómo importar su extracto bancario:" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Importar extracto bancario" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Importar extractos bancarios" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Importar ID" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Última actualización por" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Última actualización en" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -msgid "Sanitized Account Number" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "La moneda del extracto bancario no es la misma que la moneda del diario." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Este archivo no contiene ninguna transacción." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "Ya ha importado este archivo." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "Importar" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "o" diff --git a/account_bank_statement_import_base/i18n/fr.po b/account_bank_statement_import_base/i18n/fr.po deleted file mode 100644 index d5fad2a..0000000 --- a/account_bank_statement_import_base/i18n/fr.po +++ /dev/null @@ -1,255 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -# Florian Hatat, 2015 -# Florian Hatat, 2015 -# Guewen Baconnier , 2015 -# zuher83 , 2015 -# zuher83 , 2015 -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:47+0000\n" -"PO-Revision-Date: 2015-10-01 11:07+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" -"Content-Transfer-Encoding: \n" -"Language: fr\n" -"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:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 mouvement déjà importé a été ignoré." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Téléchargez vos relevés de comptes depuis le site internet de votre banque." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Vérifiez que vous avez bien installé le module compatible avec le format de fichier à importer." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Sélectionnez le fichier et cliquez sur \"Importer\". " - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Les transactions peuvent être importées en une seule fois !" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:361 -#, python-format -msgid "Already imported items" -msgstr "Lignes déjà importées" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "Comptes Bancaire" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Fichier de Relevé Bancaire" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Ligne de Relevé Bancaire" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -msgid "Bank statement import" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Annuler" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Créé par " - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Créé le " - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -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 :" -msgstr "Comment importe votre relevé bancaire :" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "Import" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Importer Relevé Bancaire" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Importer Relevés Bancaire" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Id Import" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "Journal" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Dernière mise à jour par " - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Dernière mise à jour le " - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -msgid "Sanitized Account Number" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "La monnaie du relevé bancaire à importer ne correspond pas à la monnaie du journal !" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Ce fichier ne comporte aucune transaction." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "Vous avez déjà importé ce fichier." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Import" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "ou" diff --git a/account_bank_statement_import_base/i18n/lt.po b/account_bank_statement_import_base/i18n/lt.po deleted file mode 100644 index 22a20f8..0000000 --- a/account_bank_statement_import_base/i18n/lt.po +++ /dev/null @@ -1,212 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-02-20 00:25+0000\n" -"PO-Revision-Date: 2015-02-20 00:25+0000\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 -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:269 -#, python-format -msgid "%d transactions had already been imported and were ignored." -msgstr "%d Pervedimai buvo ignoruoti, nes jie jau importuoti." - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:269 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 pervedimas buvo ignoruotas, nes jis jau importuotas." - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Atsisiųskite banko sąskaitų išrašus iš banko internetinės svetainės." - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "2. Make sure you have installed the right module to support the file format." -msgstr "2. Įsitikinkit, jog esate įrašę tinkamą modulį kuris palaikytų banko išrašo formatą." - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Nurodykite failą ir spauskite 'Importuoti'." - - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Banko sąskaitos operacijos gali būti importuojamos tik vieną kartą !" - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:271 -#, python-format -msgid "Already imported items" -msgstr "Įrašai jau importuoti" - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:182 -#, python-format -msgid "Bank" -msgstr "Bankas" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Banko išrašo failas" - - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Banko išrašo eilutė" - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Atšaukti" - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:169 -#, python-format -msgid "Cannot find in which journal import this statement. Please manually select a journal. -msgstr "Žurnalas, į kurį norite importuoti šį išrašą, nerastas. Pasirinkite žurnalą rankiniu būdu." - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:99 -#, python-format -msgid "Could not make sense of the given file.\n" -"Did you install the module to support this type of file ?" -msgstr "Failas, kurį nurodėte, netinka.\n" -"Ar Jūs įrašėte tinkamą modulį, kad palaikytų šį failų formatą?" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Sukūrė" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Sukurta" - - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "Get you bank statements in electronic format from your bank and select them here." -msgstr "Atsisiuntę banko sąskaitos išrašą elektroniniu formatu, pasirinkite jį čia." - - -#. 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 :" -msgstr "Kaip importuoti banko sąskaitos išrašą :" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - - -#. module: account_bank_statement_import -#: model:ir.actions.act_window,name:account_bank_statement_import.action_account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -#: model:ir.ui.menu,name:account_bank_statement_import.menu_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Banko išrašo importas" - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Banko išrašo importas" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Importuoti ID" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Paskutinį kartą atnaujino" - - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Paskutinį kartą atnaujinta" - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:146 -#, python-format -msgid "The account of this statement is linked to another journal." -msgstr "Šio išrašo banko sąskaita yra susieta su kitu žurnalu." - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:157 -#, python-format -msgid "The currency of the bank statement is not the same as the currency of the journal !" -msgstr "Banko sąskaitos išrašo valiuta skiriasi nuo pasirinkto žurnalo valiutos !" - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:104 -#, python-format -msgid "This file doesn't contain any statement." -msgstr "Šiame faile nėra jokių banko sąskaitos išrašų." - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:112 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Šiame faile nėra jokių operacijų." - - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/account_bank_statement_import.py:261 -#, python-format -msgid "You have already imported that file." -msgstr "Jūs jau importavote šį failą." - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Importuoti" - - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "arba" - - diff --git a/account_bank_statement_import_base/i18n/lt_LT.po b/account_bank_statement_import_base/i18n/lt_LT.po deleted file mode 100644 index 542a04f..0000000 --- a/account_bank_statement_import_base/i18n/lt_LT.po +++ /dev/null @@ -1,251 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -# Arminas Grigonis , 2015 -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:47+0000\n" -"PO-Revision-Date: 2015-10-01 11:07+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" -"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" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 transakcija ignoruota, nes jau buvo importuota." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Atsisiųskite savo banko sąskaitos išrašus iš savo banko svetainės." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Įsitikinkte, kad įrašėte tinkamą modulį, kuris palaikytų šį failų formatą." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Pasirinkite failą ir spauskite 'Importuoti'." - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Banko sąskaitos išrašai gali būti importuoti tik vieną kartą!" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -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:361 -#, python-format -msgid "Already imported items" -msgstr "Importuoti įrašai" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "Banko sąskaitos" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Banko išrašo failas" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Banko išrašo eilutė" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -msgid "Bank statement import" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Atšaukti" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Sukūrė" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Sukurta" - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -msgstr "Gaukite savo banko išrašus elektronine forma ir pasirinkite juos čia." - -#. 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 :" -msgstr "Kaip importuoti banko išrašą :" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "Importuoti" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Importuoti banko išrašą" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Importuoti banko išrašus" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Importuoti ID" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "Žurnalas" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Paskutinį kartą atnaujino" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Paskutinį kartą atnaujinta" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -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:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "Banko išrašo valiuta skiriasi nuo žurnalo valiutos !" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Faile nėra jokių pavedimų." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "Jūs jau importavote šį failą." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Importuoti" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "arba" diff --git a/account_bank_statement_import_base/i18n/nl.po b/account_bank_statement_import_base/i18n/nl.po deleted file mode 100644 index ef87230..0000000 --- a/account_bank_statement_import_base/i18n/nl.po +++ /dev/null @@ -1,252 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -# Erwin van der Ploeg , 2015 -# Therp BV , 2015 -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:47+0000\n" -"PO-Revision-Date: 2015-10-02 06:45+0000\n" -"Last-Translator: Erwin van der Ploeg \n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/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 -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1. Transactie was al geïmporteerd en is overgeslagen." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Download het bankafschrift bestand van de website van uw bank." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Zorg ervoor dat de modules die het formaat van uw bestand ondersteunen zijn geïnstalleerd." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Selecteer het bestand en klik op \"Importeren\"." - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "De transacties kunnen slechts eenmalig worden geïmporteerd." - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -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:361 -#, python-format -msgid "Already imported items" -msgstr "Al eerder geïmporteerde regels" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "Bankrekeningen" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Bankafschriften bestand" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Bankafschrift regel" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -msgid "Bank statement import" -msgstr "Importeer bankafschrift" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "Kan niet bepalen welk dagboek gebruikt moet worden." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "Kan rekeningnummer niet vinden %s." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Annuleren" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "Geen idee wat voor een soort bestand dit is.\nHeeft u de juiste module geïnstalleerd voor dit type bestand?" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Aangemaakt door" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Aangemaakt op" - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "Forceer een uniek bankrekeningnummer" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -msgstr "Verkrijg de bankafschriften van uw bank in elektronische vorm en selecteer ze hier." - -#. 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 :" -msgstr "Hoe uw bankafschrift te importeren:" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "Import" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Geïmporteerd bankafschrift" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Importeer bankafschriften" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Import ID" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "Dagboek" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Laatst bijgewerkt door" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Laatst bijgewerkt op" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -msgid "Sanitized Account Number" -msgstr "Gestandaardiseerd rekeningnummer" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "De valuta van het afschrift is niet gelijk aan de valuta van het bedrijf!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "De valuta van het afschrift is niet hetzelfde als de valuta van het dagboek!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Dit bestand bevat geen enkele transactie." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "U heeft dit bestand al geïmporteerd." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Import" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "of" diff --git a/account_bank_statement_import_base/i18n/pt_BR.po b/account_bank_statement_import_base/i18n/pt_BR.po deleted file mode 100644 index a3f55b7..0000000 --- a/account_bank_statement_import_base/i18n/pt_BR.po +++ /dev/null @@ -1,251 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -# danimaribeiro , 2015 -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-09 09:23+0000\n" -"PO-Revision-Date: 2015-10-09 00:23+0000\n" -"Last-Translator: danimaribeiro \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" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"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:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 transação já foi importada e foi ignorada." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Faça o download de seu extrato bancário do site de seu banco." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Tenha certeza que instalou o módulo correto para o tipo de formato." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Selecione o arquivo e clique \"Importar\"" - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Uma transação bancária pode ser importada apenas uma vez!" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -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:361 -#, python-format -msgid "Already imported items" -msgstr "Itens já importados" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "Contas bancárias" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Arquivo extrato bancário" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Linha do extrato bancário" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -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:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "Não pode determinar o diário para importar" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "Não foi possível encontrar a conta número %s." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Cancelar" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "O arquivo não faz sentido.\nVocê instalou o módulo correto para suporte este tipo de arquivo?" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Criado por" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Criado em" - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "Forçar números únicos nas contas bancárias." - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -msgstr "Pegue os extratos eletrônicos do seu banco e selecione-os aqui." - -#. 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 :" -msgstr "Como importar seu extrato bancário:" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "Importar" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Importar Extrato Bancário" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Importar Extratos Bancários" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "Id da importação" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "Diário" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Última atualização por" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Última atualização em" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -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:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "A moeda deste extrato não é a mesma da empresa!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "A moeda deste extrato não é a mesma do diário!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "O arquivo não contém nenhuma transação." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "Você já importou este arquivo." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Import" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "ou" diff --git a/account_bank_statement_import_base/i18n/sl.po b/account_bank_statement_import_base/i18n/sl.po deleted file mode 100644 index 09edaa3..0000000 --- a/account_bank_statement_import_base/i18n/sl.po +++ /dev/null @@ -1,251 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_bank_statement_import -# -# Translators: -# Matjaž Mozetič , 2015 -msgid "" -msgstr "" -"Project-Id-Version: bank-statement-import (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-03 22:47+0000\n" -"PO-Revision-Date: 2015-10-01 13:01+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" -"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" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:355 -#, 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:358 -#, python-format -msgid "1 transaction had already been imported and was ignored." -msgstr "1 transakcija je bila že uvožena in se prezre." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "1. Download your bank statements from your bank website." -msgstr "1. Prenesite svoje bančne izpiske iz svoje bančne spletne strani." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "" -"2. Make sure you have installed the right module to support the file format." -msgstr "2. Prepričajte se, da ste namestili pravi modul, ki podpira format datoteke." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "3. Select the file and click 'Import'." -msgstr "3. Izberite datoteko in pritisnite 'Uvoz'." - -#. module: account_bank_statement_import -#: sql_constraint:account.bank.statement.line:0 -msgid "A bank account transactions can be imported only once !" -msgstr "Transakcije bančnega računa se lahko uvozijo le enkrat!" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,journal_id:0 -msgid "" -"Accounting journal related to the bank statement you're importing. It has be" -" be manually chosen for statement formats which doesn't allow automatic " -"journal detection (QIF for example)." -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:361 -#, python-format -msgid "Already imported items" -msgstr "Že uvoženi predmeti" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_res_partner_bank -msgid "Bank Accounts" -msgstr "Bančni računi" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,data_file:0 -msgid "Bank Statement File" -msgstr "Datoteka bančnega izpiska" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_line -msgid "Bank Statement Line" -msgstr "Postavka bančnega izpiska" - -#. module: account_bank_statement_import -#: view:account.config.settings:account_bank_statement_import.view_account_config_settings -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:120 -#, python-format -msgid "Can not determine journal for import." -msgstr "Ni mogoče določiti dnevnika za uvoz." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:114 -#, python-format -msgid "Can not find the account number %s." -msgstr "Ne najde se konto številka %s." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Cancel" -msgstr "Preklic" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:158 -#, python-format -msgid "" -"Could not make sense of the given file.\n" -"Did you install the module to support this type of file?" -msgstr "Dana datoteka nima smisla.\nSte namestili modul, ki podpira tak tip datotek?" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_uid:0 -msgid "Created by" -msgstr "Ustvaril" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,create_date:0 -msgid "Created on" -msgstr "Ustvarjeno" - -#. module: account_bank_statement_import -#: field:account.config.settings,module_base_bank_account_number_unique:0 -msgid "Enforce unique account numbers on bank accounts" -msgstr "Vsili unikatne številke računov za bančne račune" - -#. module: account_bank_statement_import -#: help:account.bank.statement.import,data_file:0 -msgid "" -"Get you bank statements in electronic format from your bank and select them " -"here." -msgstr "Od svoje banke pridobite bančne izpiske v elektronskem formatu in jih izberite od tukaj." - -#. 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 :" -msgstr "Kako se uvozi bančni izpisek:" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,id:0 -msgid "ID" -msgstr "ID" - -#. 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 -msgid "Import" -msgstr "Uvoz" - -#. module: account_bank_statement_import -#: model:ir.model,name:account_bank_statement_import.model_account_bank_statement_import -msgid "Import Bank Statement" -msgstr "Uvoz bančnega izpiska" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "Import Bank Statements" -msgstr "Uvoz bančnih izpiskov" - -#. module: account_bank_statement_import -#: field:account.bank.statement.line,unique_import_id:0 -msgid "Import ID" -msgstr "ID uvoza" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,journal_id:0 -msgid "Journal" -msgstr "Dnevnik" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_uid:0 -msgid "Last Updated by" -msgstr "Zadnji posodobil" - -#. module: account_bank_statement_import -#: field:account.bank.statement.import,write_date:0 -msgid "Last Updated on" -msgstr "Zadnjič posodobljeno" - -#. module: account_bank_statement_import -#: field:res.partner.bank,sanitized_acc_number:0 -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:242 -#, 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:228 -#, 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:183 -#, 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:211 -#, 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:247 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the company currency !" -msgstr "Valuta bančnega izpiska ni enaka valuti družbe!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:233 -#, python-format -msgid "" -"The currency of the bank statement is not the same as the currency of the " -"journal !" -msgstr "Valuta na bančnem izpisku ne ustreza valuti dnevnika!" - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:167 -#, 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:172 -#, python-format -msgid "This file doesn't contain any transaction." -msgstr "Ta datoteka ne vsebuje transakcij." - -#. module: account_bank_statement_import -#: code:addons/account_bank_statement_import/models/account_bank_statement_import.py:99 -#, python-format -msgid "You have already imported that file." -msgstr "To datoteko ste že uvozili." - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "_Import" -msgstr "_Uvoz" - -#. module: account_bank_statement_import -#: view:account.bank.statement.import:account_bank_statement_import.account_bank_statement_import_view -msgid "or" -msgstr "ali" diff --git a/account_bank_statement_import_base/migrations/8.0.1.0/post-migrate.py b/account_bank_statement_import_base/migrations/8.0.1.0/post-migrate.py deleted file mode 100644 index ff2ee0f..0000000 --- a/account_bank_statement_import_base/migrations/8.0.1.0/post-migrate.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2015 Therp BV . -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - - -def migrate(cr, version): - # if we end up here, we migrate from 7.0's account_banking - # set transaction ids, taking care to enforce uniqueness - cr.execute( - """update account_bank_statement_line l set unique_import_id=l1.trans - from ( - select distinct - first_value(id) over (partition by trans) id, trans - from account_bank_statement_line - ) l1 - where l.id=l1.id""") diff --git a/account_bank_statement_import_base/models/__init__.py b/account_bank_statement_import_base/models/__init__.py deleted file mode 100644 index 3a3c51a..0000000 --- a/account_bank_statement_import_base/models/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# -*- encoding: utf-8 -*- - -from . import res_partner_bank -from . import account_bank_statement_import -from . import account_config_settings diff --git a/account_bank_statement_import_base/models/account_bank_statement_import.py b/account_bank_statement_import_base/models/account_bank_statement_import.py deleted file mode 100644 index 3d2e8f7..0000000 --- a/account_bank_statement_import_base/models/account_bank_statement_import.py +++ /dev/null @@ -1,366 +0,0 @@ -# -*- coding: utf-8 -*- -"""Framework for importing bank statement files.""" -import logging -import base64 - -from openerp import api, models, fields -from openerp.tools.translate import _ -from openerp.exceptions import Warning - -_logger = logging.getLogger(__name__) - - -class AccountBankStatementLine(models.Model): - """Extend model account.bank.statement.line.""" - _inherit = "account.bank.statement.line" - - # Ensure transactions can be imported only once (if the import format - # provides unique transaction ids) - unique_import_id = fields.Char('Import ID', readonly=True, copy=False) - - _sql_constraints = [ - ('unique_import_id', - 'unique (unique_import_id)', - 'A bank account transactions can be imported only once !') - ] - - -class AccountBankStatementImport(models.TransientModel): - """Extend model account.bank.statement.""" - _name = 'account.bank.statement.import' - _description = 'Import Bank Statement' - - @api.model - def _get_hide_journal_field(self): - """ Return False if the journal_id can't be provided by the parsed - file and must be provided by the wizard. - See account_bank_statement_import_qif """ - return True - - journal_id = fields.Many2one( - 'account.journal', string='Journal', - help='Accounting journal related to the bank statement you\'re ' - 'importing. It has be be manually chosen for statement formats which ' - 'doesn\'t allow automatic journal detection (QIF for example).') - hide_journal_field = fields.Boolean( - string='Hide the journal field in the view', - compute='_get_hide_journal_field') - data_file = fields.Binary( - 'Bank Statement File', required=True, - help='Get you bank statements in electronic format from your bank ' - 'and select them here.') - - @api.multi - def import_file(self): - """ Process the file chosen in the wizard, create bank statement(s) and - go to reconciliation.""" - self.ensure_one() - data_file = base64.b64decode(self.data_file) - statement_ids, notifications = self.with_context( - active_id=self.id)._import_file(data_file) - # dispatch to reconciliation interface - action = self.env.ref( - 'account.action_bank_reconcile_bank_statements') - return { - 'name': action.name, - 'tag': action.tag, - 'context': { - 'statement_ids': statement_ids, - 'notifications': notifications - }, - 'type': 'ir.actions.client', - } - - @api.model - def _import_file(self, data_file): - """ Create bank statement(s) from file.""" - # The appropriate implementation module returns the required data - statement_ids = [] - notifications = [] - parse_result = self._parse_file(data_file) - # Check for old version result, with separate currency and account - if isinstance(parse_result, tuple) and len(parse_result) == 3: - (currency_code, account_number, statements) = parse_result - for stmt_vals in statements: - stmt_vals['currency_code'] = currency_code - stmt_vals['account_number'] = account_number - else: - statements = parse_result - # Check raw data: - self._check_parsed_data(statements) - # Import all statements: - for stmt_vals in statements: - (statement_id, new_notifications) = ( - self._import_statement(stmt_vals)) - if statement_id: - statement_ids.append(statement_id) - notifications.append(new_notifications) - if len(statement_ids) == 0: - raise Warning(_('You have already imported that file.')) - return statement_ids, notifications - - @api.model - def _import_statement(self, stmt_vals): - """Import a single bank-statement. - - Return ids of created statements and notifications. - """ - currency_code = stmt_vals.pop('currency_code') - account_number = stmt_vals.pop('account_number') - # Try to find the bank account and currency in odoo - currency_id = self._find_currency_id(currency_code) - bank_account_id = self._find_bank_account_id(account_number) - if not bank_account_id and account_number: - raise Warning(_('Can not find the account number %s.') % - account_number) - # Find the bank journal - journal_id = self._get_journal(currency_id, bank_account_id) - # By now journal and account_number must be known - if not journal_id: - raise Warning(_('Can not determine journal for import.')) - # Prepare statement data to be used for bank statements creation - stmt_vals = self._complete_statement( - stmt_vals, journal_id, account_number) - # Create the bank stmt_vals - return self._create_bank_statement(stmt_vals) - - @api.model - def _parse_file(self, data_file): - """ Each module adding a file support must extends this method. It - processes the file if it can, returns super otherwise, resulting in a - chain of responsability. - This method parses the given file and returns the data required by - the bank statement import process, as specified below. - - bank statements data: list of dict containing (optional - items marked by o) : - -o currency code: string (e.g: 'EUR') - The ISO 4217 currency code, case insensitive - -o account number: string (e.g: 'BE1234567890') - The number of the bank account which the statement - belongs to - - 'name': string (e.g: '000000123') - - 'date': date (e.g: 2013-06-26) - -o 'balance_start': float (e.g: 8368.56) - -o 'balance_end_real': float (e.g: 8888.88) - - 'transactions': list of dict containing : - - 'name': string - (e.g: 'KBC-INVESTERINGSKREDIET 787-5562831-01') - - 'date': date - - 'amount': float - - 'unique_import_id': string - -o 'account_number': string - Will be used to find/create the res.partner.bank - in odoo - -o 'note': string - -o 'partner_name': string - -o 'ref': string - """ - raise Warning(_( - 'Could not make sense of the given file.\n' - 'Did you install the module to support this type of file?' - )) - - @api.model - def _check_parsed_data(self, statements): - """ Basic and structural verifications """ - if len(statements) == 0: - raise Warning(_('This file doesn\'t contain any statement.')) - for stmt_vals in statements: - if 'transactions' in stmt_vals and stmt_vals['transactions']: - return - # If we get here, no transaction was found: - raise Warning(_('This file doesn\'t contain any transaction.')) - - @api.model - def _find_currency_id(self, currency_code): - """ Get res.currency ID.""" - if currency_code: - currency_ids = self.env['res.currency'].search( - [('name', '=ilike', currency_code)]) - if currency_ids: - return currency_ids[0].id - else: - raise Warning(_( - 'Statement has invalid currency code %s') % currency_code) - # if no currency_code is provided, we'll use the company currency - return self.env.user.company_id.currency_id.id - - @api.model - def _find_bank_account_id(self, account_number): - """ Get res.partner.bank ID """ - bank_account_id = None - if account_number and len(account_number) > 4: - bank_account_ids = self.env['res.partner.bank'].search( - [('acc_number', '=', account_number)], limit=1) - if bank_account_ids: - bank_account_id = bank_account_ids[0].id - return bank_account_id - - @api.model - def _get_journal(self, currency_id, bank_account_id): - """ Find the journal """ - bank_model = self.env['res.partner.bank'] - # Find the journal from context, wizard or bank account - journal_id = self.env.context.get('journal_id') or self.journal_id.id - if bank_account_id: - bank_account = bank_model.browse(bank_account_id) - if journal_id: - if (bank_account.journal_id.id and - bank_account.journal_id.id != journal_id): - raise Warning( - _('The account of this statement is linked to ' - 'another journal.')) - if not bank_account.journal_id.id: - bank_model.write({'journal_id': journal_id}) - else: - if bank_account.journal_id.id: - journal_id = bank_account.journal_id.id - # If importing into an existing journal, its currency must be the same - # as the bank statement. When journal has no currency, currency must - # be equal to company currency. - if journal_id and currency_id: - journal_obj = self.env['account.journal'].browse(journal_id) - if journal_obj.currency: - journal_currency_id = journal_obj.currency.id - if currency_id != journal_currency_id: - # ALso log message with id's for technical analysis: - _logger.warn( - _('Statement currency id is %d,' - ' but journal currency id = %d.'), - currency_id, - journal_currency_id - ) - raise Warning(_( - 'The currency of the bank statement is not ' - 'the same as the currency of the journal !' - )) - else: - company_currency_id = self.env.user.company_id.currency_id.id - if currency_id != company_currency_id: - # ALso log message with id's for technical analysis: - _logger.warn( - _('Statement currency id is %d,' - ' but company currency id = %d.'), - currency_id, - company_currency_id - ) - raise Warning(_( - 'The currency of the bank statement is not ' - 'the same as the company currency !' - )) - return journal_id - - @api.model - @api.returns('res.partner.bank') - def _create_bank_account( - self, account_number, company_id=False, currency_id=False): - """Automagically create bank account, when not yet existing.""" - try: - bank_type = self.env.ref('base.bank_normal') - bank_code = bank_type.code - except ValueError: - bank_code = 'bank' - vals_acc = { - 'acc_number': account_number, - 'state': bank_code, - } - # Odoo users bank accounts (which we import statement from) have - # company_id and journal_id set while 'counterpart' bank accounts - # (from which statement transactions originate) don't. - # Warning : if company_id is set, the method post_write of class - # bank will create a journal - if company_id: - vals = self.env['res.partner.bank'].onchange_company_id(company_id) - vals_acc.update(vals.get('value', {})) - vals_acc['company_id'] = company_id - - # When the journal is created at same time of the bank account, we need - # to specify the currency to use for the account.account and - # account.journal - return self.env['res.partner.bank'].with_context( - default_currency_id=currency_id, - default_currency=currency_id).create(vals_acc) - - @api.model - def _complete_statement(self, stmt_vals, journal_id, account_number): - """Complete statement from information passed.""" - stmt_vals['journal_id'] = journal_id - for line_vals in stmt_vals['transactions']: - unique_import_id = line_vals.get('unique_import_id', False) - if unique_import_id: - line_vals['unique_import_id'] = ( - (account_number and account_number + '-' or '') + - unique_import_id - ) - if not line_vals.get('bank_account_id'): - # Find the partner and his bank account or create the bank - # account. The partner selected during the reconciliation - # process will be linked to the bank when the statement is - # closed. - partner_id = False - bank_account_id = False - account_number = line_vals.get('account_number') - if account_number: - bank_model = self.env['res.partner.bank'] - banks = bank_model.search( - [('acc_number', '=', account_number)], limit=1) - if banks: - bank_account_id = banks[0].id - partner_id = banks[0].partner_id.id - else: - bank_obj = self._create_bank_account(account_number) - bank_account_id = bank_obj and bank_obj.id or False - line_vals['partner_id'] = partner_id - line_vals['bank_account_id'] = bank_account_id - return stmt_vals - - @api.model - def _create_bank_statement(self, stmt_vals): - """ Create bank statement from imported values, filtering out - already imported transactions, and return data used by the - reconciliation widget - """ - bs_model = self.env['account.bank.statement'] - bsl_model = self.env['account.bank.statement.line'] - # Filter out already imported transactions and create statement - ignored_line_ids = [] - filtered_st_lines = [] - for line_vals in stmt_vals['transactions']: - unique_id = ( - 'unique_import_id' in line_vals and - line_vals['unique_import_id'] - ) - if not unique_id or not bool(bsl_model.sudo().search( - [('unique_import_id', '=', unique_id)], limit=1)): - filtered_st_lines.append(line_vals) - else: - ignored_line_ids.append(unique_id) - statement_id = False - if len(filtered_st_lines) > 0: - # Remove values that won't be used to create records - stmt_vals.pop('transactions', None) - for line_vals in filtered_st_lines: - line_vals.pop('account_number', None) - # Create the statement - stmt_vals['line_ids'] = [ - [0, False, line] for line in filtered_st_lines] - statement_id = bs_model.create(stmt_vals).id - # Prepare import feedback - notifications = [] - num_ignored = len(ignored_line_ids) - if num_ignored > 0: - notifications += [{ - 'type': 'warning', - 'message': - _("%d transactions had already been imported and " - "were ignored.") % num_ignored - if num_ignored > 1 - else _("1 transaction had already been imported and " - "was ignored."), - 'details': { - 'name': _('Already imported items'), - 'model': 'account.bank.statement.line', - 'ids': bsl_model.search( - [('unique_import_id', 'in', ignored_line_ids)]).ids} - }] - return statement_id, notifications diff --git a/account_bank_statement_import_base/models/account_config_settings.py b/account_bank_statement_import_base/models/account_config_settings.py deleted file mode 100644 index 7f270c9..0000000 --- a/account_bank_statement_import_base/models/account_config_settings.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This module copyright (C) 2015 Therp BV (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -from openerp import models, fields - - -class AccountConfigSettings(models.TransientModel): - _inherit = 'account.config.settings' - - module_base_bank_account_number_unique = fields.Boolean( - 'Enforce unique account numbers on bank accounts') diff --git a/account_bank_statement_import_base/models/res_partner_bank.py b/account_bank_statement_import_base/models/res_partner_bank.py deleted file mode 100644 index f633715..0000000 --- a/account_bank_statement_import_base/models/res_partner_bank.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This file is part of account_bank_statement_import, -# an Odoo module. -# -# Copyright (c) 2015 ACSONE SA/NV () -# -# account_bank_statement_importis free software: -# you can redistribute it and/or modify it under the terms of the GNU -# Affero General Public License as published by the Free Software -# Foundation,either version 3 of the License, or (at your option) any -# later version. -# -# account_bank_statement_import is distributed -# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with account_bank_statement_import_coda. -# If not, see . -# -############################################################################## - -import re -from openerp import api, models, fields - - -class ResPartnerBank(models.Model): - _inherit = 'res.partner.bank' - - sanitized_acc_number = fields.Char( - 'Sanitized Account Number', size=64, readonly=True, - compute='_get_sanitized_account_number', store=True, index=True) - - def _sanitize_account_number(self, acc_number): - if acc_number: - return re.sub(r'\W+', '', acc_number).upper() - return False - - @api.one - @api.depends('acc_number') - def _get_sanitized_account_number(self): - 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): - pos = 0 - while pos < len(args): - if args[pos][0] == 'acc_number': - op = args[pos][1] - value = args[pos][2] - if hasattr(value, '__iter__'): - value = [self._sanitize_account_number(i) for i in value] - else: - value = self._sanitize_account_number(value) - if 'like' in op: - value = '%' + value + '%' - 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) diff --git a/account_bank_statement_import_base/parserlib.py b/account_bank_statement_import_base/parserlib.py deleted file mode 100644 index 49bb0e7..0000000 --- a/account_bank_statement_import_base/parserlib.py +++ /dev/null @@ -1,236 +0,0 @@ -# -*- encoding: utf-8 -*- -"""Classes and definitions used in parsing bank statements.""" -############################################################################## -# -# Copyright (C) 2015 Therp BV . -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - - -class BankTransaction(dict): - """Single transaction that is part of a bank statement.""" - - @property - def value_date(self): - """property getter""" - return self['date'] - - @value_date.setter - def value_date(self, value_date): - """property setter""" - self['date'] = value_date - - @property - def name(self): - """property getter""" - return self['name'] - - @name.setter - def name(self, name): - """property setter""" - self['name'] = name - - @property - def transferred_amount(self): - """property getter""" - return self['amount'] - - @transferred_amount.setter - def transferred_amount(self, transferred_amount): - """property setter""" - self['amount'] = transferred_amount - - @property - def eref(self): - """property getter""" - return self['ref'] - - @eref.setter - def eref(self, eref): - """property setter""" - self['ref'] = eref - if not self.message: - self.name = eref - - @property - def message(self): - """property getter""" - return self._message - - @message.setter - def message(self, message): - """property setter""" - self._message = message - self.name = message - - @property - def remote_owner(self): - """property getter""" - return self['partner_name'] - - @remote_owner.setter - def remote_owner(self, remote_owner): - """property setter""" - self['partner_name'] = remote_owner - if not (self.message or self.eref): - self.name = remote_owner - - @property - def remote_account(self): - """property getter""" - return self['account_number'] - - @remote_account.setter - def remote_account(self, remote_account): - """property setter""" - self['account_number'] = remote_account - - @property - def note(self): - return self['note'] - - @note.setter - def note(self, note): - self['note'] = note - - def __init__(self): - """Define and initialize attributes. - - Not all attributes are already used in the actual import. - """ - super(BankTransaction, self).__init__() - self.transfer_type = False # Action type that initiated this message - self.execution_date = False # The posted date of the action - self.value_date = False # The value date of the action - self.remote_account = False # The account of the other party - self.remote_currency = False # The currency used by the other party - self.exchange_rate = 0.0 - # The exchange rate used for conversion of local_currency and - # remote_currency - self.transferred_amount = 0.0 # actual amount transferred - self.name = '' - self._message = False # message from the remote party - self.eref = False # end to end reference for transactions - self.remote_owner = False # name of the other party - self.remote_owner_address = [] # other parties address lines - self.remote_owner_city = False # other parties city name - self.remote_owner_postalcode = False # other parties zip code - self.remote_owner_country_code = False # other parties country code - self.remote_bank_bic = False # bic of other party's bank - self.provision_costs = False # costs charged by bank for transaction - self.provision_costs_currency = False - self.provision_costs_description = False - self.error_message = False # error message for interaction with user - self.storno_retry = False - # If True, make cancelled debit eligible for a next direct debit run - self.data = '' # Raw data from which the transaction has been parsed - - -class BankStatement(dict): - """A bank statement groups data about several bank transactions.""" - - @property - def statement_id(self): - """property getter""" - return self['name'] - - def _set_transaction_ids(self): - """Set transaction ids to statement_id with sequence-number.""" - subno = 0 - for transaction in self['transactions']: - subno += 1 - transaction['unique_import_id'] = ( - self.statement_id + str(subno).zfill(4)) - - @statement_id.setter - def statement_id(self, statement_id): - """property setter""" - self['name'] = statement_id - self._set_transaction_ids() - - @property - def local_account(self): - """property getter""" - return self['account_number'] - - @local_account.setter - def local_account(self, local_account): - """property setter""" - self['account_number'] = local_account - - @property - def local_currency(self): - """property getter""" - return self['currency_code'] - - @local_currency.setter - def local_currency(self, local_currency): - """property setter""" - self['currency_code'] = local_currency - - @property - def start_balance(self): - """property getter""" - return self['balance_start'] - - @start_balance.setter - def start_balance(self, start_balance): - """property setter""" - self['balance_start'] = start_balance - - @property - def end_balance(self): - """property getter""" - return self['balance_end'] - - @end_balance.setter - def end_balance(self, end_balance): - """property setter""" - self['balance_end'] = end_balance - self['balance_end_real'] = end_balance - - @property - def date(self): - """property getter""" - return self['date'] - - @date.setter - def date(self, date): - """property setter""" - self['date'] = date - - def create_transaction(self): - """Create and append transaction. - - This should only be called after statement_id has been set, because - statement_id will become part of the unique transaction_id. - """ - transaction = BankTransaction() - self['transactions'].append(transaction) - # Fill default id, but might be overruled - transaction['unique_import_id'] = ( - self.statement_id + str(len(self['transactions'])).zfill(4)) - return transaction - - def __init__(self): - super(BankStatement, self).__init__() - self['transactions'] = [] - self.statement_id = '' - self.local_account = '' - self.local_currency = '' - self.date = '' - self.start_balance = 0.0 - self.end_balance = 0.0 diff --git a/account_bank_statement_import_base/static/description/icon.png b/account_bank_statement_import_base/static/description/icon.png deleted file mode 100644 index 1a22a285caee435c1257b688f5b45cc3c6682a33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6907 zcmaiZ^SO5P=;Lea0v~svG%bY-RdqSQx+QY@W@uf_?WXNKX!mN(KRW$ap9; z_^0pK(^ADz#Q_)B*ZT^krQ!zS!=-O?NlMc|5^qC$3yC-Lwc9>(--A%3GQ5q9Li#ibk8kt5Y31TwXXE#No_f7xjYzK-dGto!9C8eXrxWf3mWEW#b?vq(%-%O8GA)> z-(yF^o>zy=6q*6_0rrHk+b~ZxZ?|wR_}Pe+ajereAcOaB7`zM)7kehnvFvBjNs`ET! z!pRIF*QpQ4>VQAmjtfGMiEA;T`Jv#lw%+gC(t_tNl*@oMKtHA$N>cy?q)OF?=KKqz zc_dJ0i>3#=Q(kheQ)R%n|LNzjVv$ys214$X4mT~R!mm!y+rDTHKYF#lrUFwM%bWAFCkTR-%gUDghzYWoo z(z}F@poRT*<$PL`Gi4i;+zBtgMF?=p1L+c;N|vz_@|Rq*@xu{iF)ek?G8H1sJ|X9x2I#~ z`Z?ioJGl%ynqKv&)1R@}s<7NZP|Wo~t89X#%R1dUbc={{RU98K_DnswXeW#!H~1_N ziS!g!>Lo+8Tl+3uWZPO>yGaSJ9hl^TMgPVcuTvX6p-+h1=5SqL)lkIS)c8@SRjwIm z2SmBtBf5Z{v#chkt7DEqq~_-y?w^>Yfo%d4n`Id7 zNij73$iY&c){p=7Hzm*AuQn+a)F;T|P}Z^um6!yp1kDZPq=*$d{0K5N&o;USSi&uf z#j(yr9$o1g{fG!fcB`E$Q`JCcTZgq(MGT&E5$Mj8cg+?=6ew}ziQrr6)#b46Sy()E zF|lizj>PsWrC62ua`2Z^-Q`exoii){H?kM`3D#kOIdJ5W%ECi8Dm3c)L|OIDkGkPE>uYhF#<%tH~dn43i*_S(FjeEcMo_7V8|$FJX)0TXj_h zc7A6<@GRm@Q=?n_WsO)Izr-^-i3A0%9Hlyad`hgFMzyOxS86x6F;YhLdF?XYa6?xQa+T9tw zAr2UzU#pJ%XCnXbt<*BNAld#fpK1JXv)g38H9EY8DvHlbB_wP!1S4e4&oGe#uq2%G zoLw)N8bxysSJdzxmVI3=l;Rb7?i5Ep`egki=zt&A*_y`6umbcEgjT$cTJt5&8Qn#> zc5CU>VBiux&-D#srCudp_1GJ1 z2y4xFS5Ec^J5rD{U5%3VUVAcgrTYgQKA^t8D{WN&5{q+hE6y}b>7pZseXyX;Fie^3 z@1UG|sZq_)y;M3hXU&!M17t~DY7_ap7h`K9c&7Hw_WK_(8O8|W8i?fYt#KOsp&-k7 zcuQGw$&{aBEykO`{fv%*F0~ImZ5G|=LTfSyt=LMkiD-yV`QZwcpsyu{pYHAdKNB+1*nVf z4(8P|>G~$O2svKQ2z8V!wBycEG$I7v<<;Aa_o9@yLoKYC9kUURPIV5-L&BL=BvHsD z#fa0zZ98mze8*J~=h3FqXo-~aKeJKFr;9lQfDExCg|tk`!spSESHA=;z-cMePUCfX z9qTcBiP}Vl0X4nLtn36`$iqwxl(Lcye?OUkZJ0b?{{Ji|yg5^cryi2_S9h}--COZa z7_}(R(6IHJheYmSa5-j$__*+Ub>5c~jsbOL5a^k?-zA82_Jwp2upp;*Q3sDIRX)#V zW19$bw56iCFj_o~yU|6@3uy~0c)Qr?)H4ME^NBXl;Psyt$Htz#vD?{*vwuc$RQHfQ zanmxs(L;r17dGlPA5dO+WeLz6x=SQQq2(D0UV$oM1C>J*7A<$decQQjZ z=4lt3D)}SndAFyV>TCPgxqNgNm#+3S_J(GymIkrCU#_g3hw`2J!(mtVQ;JuH;MB!A zxdGw@L01-r{uFLuSx(iDf1Rl1Y`yz?8p5v+Y>reB=y_`yU*(6`Gb&Fkp&S4}zr_etq)sgfq-qA`+?r=+1X8R0&)!@YHG+^5e+Zk)R+Z6-eyjM2RK)*Q$ znwgmG@TJqJybY`T>4_L6z@)@_ zJm=jf_XBcnmw?37`#sHSK8x%cEVFRs=lX9Xm0ystbqX*Re83=R0;OK>YxaR%37>Bj zbv&4&un1>XM7g;$7yb24HtlbTevDETZ|h65HnhGt>@aN+lA+_e`{t55zG{mn>zNOo z=PGt}=3>t&x}*)eD^o#Q<4&n(x1%r|hWE8}EubfbYFCkt`Rk*>Bm89$y#3m4Ek*a- zuxaatLFQXqyNpl@iD_ApRvUfcqaj&@f;oYmUzZ*kb#zKmG5lKrDssZVIN54GO3`@@ zu)$*NW7M*yH}vzN{yM`l!LTklGEC0dcDQpr=GqTgsUSL6H`><3NO(Etw$uBhK;fe8 zhl{_pR!CVlmhX?ON77knDH{r#Qca7Yd;TEJDDi%{j) zsRwD~2R}QSviDvta7CUI(3ve{(ti36Jf6U`~Fky`u@hcIpLL zJ8J8i((OA?B**WpkWA&ai3@|8i~l_`CN-@H!5t7|k0-Rv0$_v24O}tNgX*@o19V*Bp)Jk)bpLb{>LlxtKo^ezes0}^uTEHy;#@g8nKb6js8f`vD-*5w-<#I#X zTLy=4x7ZPEYy)Gwm~}$Lt>1+|DdNQ1rM>EM1=i!)KMG69QpwIqPDTvg@yK}~L>yj+ zYHcuSez6>09{hvdRzwK63%hG=W3k%T_b`EOA7eDJKYaPtPIvSvvDWD#6eF4JedBOz z$p&)is&&|aidqS*nCRqf?W@l65Qgq5$F^pHB~yIZ_Rav}Hj5o=l3hM%zuAcWe`2}+ zwZF1Bx$kGvdgHmkH?ku}a7YhvEr?Vrm@`|_+GQzwv^#qZ`3_q<<~g@zDS|G#3amAL z(fvTwwnYe8WDe6Ru(+Mxhew{0&e%t_@CGiHqw!Cd+mbwUO_|0s_;0@wP9H)w#lFH@>~x znrFU5bD^r&V;oBsu8ku?8=YR9Sj4zCxG2a;ph9ET5X`2f{xGH@*xv z4CnJ>UT?mFkA=*~+Z`K*(1+~_;U;W54CGP96rI4!gbr}(UlL0ni~Dg{=J3rYawZ5*_ciPB#nd}rhoT?lUwrGR_+fFcqJ$WIn@g6O zR4e_=a%uiPqr57ADcQFAn`SUlfc@Ay^rNd_ojnnEzeNBA8yILtq6P-(vO^Nhm+#x} zdPLz9@3Ok`20%W%e`yDn&&O$Y=Y(iw(2T?2&j%mS{L}zSdkTtHpH>gm>17cU$@S25 zLyW{4ks*~LEqM=auP~wCPedr6HobYC-97n>iwMbi)aLOtPwRa+^@mpmqHE@Y+}@qZ zPT0?|tt)v+{1-(>?zpWT`sUIO?q41T`OhJ19Sg1>rIw}LGQ(yCw9Nr|e*eBH^i*ZP zZ=VhS<0q&!*A%CE?%$;^rL%A=9@N*WZ7I_s0Woa1>IfaML>T(XVa%j_Ap{&$Zt)m* z_*by2nQ2mE8Fdxfh7zTmrPf(>J4aN^>Q?734t=W%r7j~Q(o@4` z&#zy0)Mug%d(*$R?T}vbXu7-5^- z#Vlf-j}m!|3r$3b&y|Kb@RU*9X{KrP9=y{bNF6(2DBl$eNL*LYI!WU;8EfF?y@t=N zFW;x1(8B91gg0YkP3X3hce zpB;TKYUkPj{VVN{`-?S^7h${3uKBT4w4qmbM&zLSJ*<*{{n*RR6htgS9R05NDZh#R z^o)2+cq-iARRbNpc~Necc}+%6{YHa9U_1Y+L{qaAd^PQCDb1$jm;!=HbR4UNhWRNv z6DlXYV@MiFnFdsHLlpp5b#XgYxrI)NyMedlX6kDmPOjpD9%SV2vO{^q)q{6ycSCL_ zvu^TO38iA+N*j>t<@?uv;E)nxfeu*-DL`>$tWNPJG~JpNffo3ja@q68UX~@^vqGtF zR9*>$S)+|lU{m9)2F6@bdwc(B*UV{Eo+{Uwy)#r}kYU4Y1jqk*K~}V0$~Ua6G=qmw zMtc3+FUYS~eCbCX>t!@djw?F8Tcf@5%}L6HX~*XXR+om!7yiJIb(*qkoyUQuv?;b> z+`I2&H#`GJL8D*0tJl}lgG$J!x=$ymEXxdzY>BJv5c61w+LX;=6s|!nEp6VWY}NMf z&JMZUfFH_)Ga{wML0fs}rbCZ0fG37Yn44?VV3D zWDPp|^?h3sg5fK@`!CSj@A47a-!U&aQT_Ra@S!wcdRFD^YWiR1 ze69ha+b#^W@pfIuKJborgnsR~&?nRsl`JZf%hOY>Ux|qnoX)2DOS!9gng$TF&)QHO z=g<^X8)Jn@-ohU~9kLqnR(ydI-$#K33Cv@UM^Y3Q8}QR|>Vh|){=YdL;fEE9m-KL= X(w!Fx-Uru-DuB-2` -image/svg+xml08/12/13 1000.00 Delta PC08/15/13 75.46 Walts Drugs03/03/13 379.00 Epic Technologies03/04/13 20.28 YOUR LOCAL SU03/03/13 421.35 SPRINGFIELD WA03/03/13 379.00 Epic Technologies03/04/13 20.28 YOUR LOCAL SUP08/15/13 75.46 Walts Drugs08/12/13 1000.00 Delta PC03/03/13 421.35 SPRINGFIELD WA03/04/13 20.28 YOUR LOCAL SU03/03/13 379.00 Epic Technologies08/12/13 1000.00 De a PC03/03/13 379.00 E Technologies08/15/13 75.46 Walts Drugs03/04/13 20.28 YOUR LOCAL SU03/03/13 379.00 Epic Technologies08/12/13 1000.00 Delta PC08/15/13 75.46 Walts Drugs - - \ No newline at end of file diff --git a/account_bank_statement_import_base/tests/__init__.py b/account_bank_statement_import_base/tests/__init__.py deleted file mode 100644 index 9d91a6a..0000000 --- a/account_bank_statement_import_base/tests/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# -*- encoding: utf-8 -*- -"""Define tests to be run.""" -from . import test_res_partner_bank -from . import test_import_bank_statement -from .test_import_file import TestStatementFile diff --git a/account_bank_statement_import_base/tests/test_import_bank_statement.py b/account_bank_statement_import_base/tests/test_import_bank_statement.py deleted file mode 100644 index e32051a..0000000 --- a/account_bank_statement_import_base/tests/test_import_bank_statement.py +++ /dev/null @@ -1,90 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This file is part of account_bank_statement_import, -# an Odoo module. -# -# Copyright (c) 2015 ACSONE SA/NV () -# -# account_bank_statement_import is free software: -# you can redistribute it and/or modify it under the terms of the GNU -# Affero General Public License as published by the Free Software -# Foundation,either version 3 of the License, or (at your option) any -# later version. -# -# account_bank_statement_import is distributed -# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with account_bank_statement_import_coda. -# If not, see . -# -############################################################################## -from openerp.tests.common import TransactionCase -from openerp.exceptions import Warning - - -class TestAccountBankStatementImport(TransactionCase): - """Tests for import bank statement file import - (account.bank.statement.import) - """ - - def setUp(self): - super(TestAccountBankStatementImport, self).setUp() - self.statement_import_model = self.env[ - 'account.bank.statement.import'] - self.account_journal_model = self.env['account.journal'] - self.res_users_model = self.env['res.users'] - - self.journal_id = self.ref('account.bank_journal') - self.base_user_root_id = self.ref('base.user_root') - self.base_user_root = self.res_users_model.browse( - self.base_user_root_id) - - # create a new user that belongs to the same company as - # user_root - self.other_partner_id = self.env['res.partner'].create( - {"name": "My other partner", - "is_company": False, - "email": "test@tes.ttest", - }) - self.company_id = self.base_user_root.company_id.id - self.other_user_id_a = self.res_users_model.create( - {"partner_id": self.other_partner_id.id, - "company_id": self.company_id, - "company_ids": [(4, self.company_id)], - "login": "my_login a", - "name": "my user", - "groups_id": [(4, self.ref('account.group_account_manager'))] - }) - - def test_import_preconditions(self): - """Checks that the import raises an exception if: - * no bank account found for the account_number - * no account_journal found on the bank_account - """ - stmt_vals = { - 'currency_code': 'EUR', - 'account_number': '123456789'} - with self.assertRaises(Warning) as e: - self.statement_import_model._import_statement(stmt_vals.copy()) - self.assertEqual(e.exception.message, - 'Can not find the account number 123456789.') - self.statement_import_model._create_bank_account('123456789') - with self.assertRaises(Warning) as e: - self.statement_import_model._import_statement(stmt_vals.copy()) - self.assertEqual(e.exception.message, - 'Can not determine journal for import.') - - def test_create_bank_account(self): - """Checks that the bank_account created by the import belongs to the - partner linked to the company of the provided journal - """ - journal = self.account_journal_model.browse(self.journal_id) - expected_id = journal.company_id.partner_id.id - st_import = self.statement_import_model.sudo(self.other_user_id_a.id) - bank = st_import._create_bank_account( - '001251882303', company_id=self.company_id) - self.assertEqual(bank.partner_id.id, expected_id) diff --git a/account_bank_statement_import_base/tests/test_import_file.py b/account_bank_statement_import_base/tests/test_import_file.py deleted file mode 100644 index 71ed1e0..0000000 --- a/account_bank_statement_import_base/tests/test_import_file.py +++ /dev/null @@ -1,131 +0,0 @@ -# -*- coding: utf-8 -*- -"""Provide common base for bank statement import tests.""" -############################################################################## -# -# Copyright (C) 2015 Therp BV . -# -# All other contributions are (C) by their respective contributors -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## -import logging - -from openerp.tests.common import TransactionCase -from openerp.modules.module import get_module_resource - - -_logger = logging.getLogger(__name__) - - -class TestStatementFile(TransactionCase): - """Check wether statements with transactions correctly imported. - - No actual tests are done in this class, implementations are in - subclasses in actual import modules. - """ - - def _test_transaction( - self, statement_obj, remote_account=False, - transferred_amount=False, value_date=False, ref=False): - """Check wether transaction with attributes passed was created. - - Actually this method also tests wether automatic creation of - partner bank accounts is working. - """ - transaction_model = self.env['account.bank.statement.line'] - partner_bank_model = self.env['res.partner.bank'] - domain = [('statement_id', '=', statement_obj.id)] - if remote_account: - bids = partner_bank_model.search( - [('acc_number', '=', remote_account)]) - self.assertTrue( - bids, - 'Bank-account %s not found after parse.' % remote_account - ) - domain.append(('bank_account_id', '=', bids[0].id)) - if transferred_amount: - domain.append(('amount', '=', transferred_amount)) - if value_date: - domain.append(('date', '=', value_date)) - if ref: - domain.append(('ref', '=', ref)) - ids = transaction_model.search(domain) - if not ids: - # We will get assertion error, but to solve we need to see - # what transactions have been added: - self.cr.execute( - "select name, date, amount, ref, bank_account_id" - " from account_bank_statement_line" - " where statement_id=%d" % statement_obj.id) - _logger.error( - "Transaction not found in %s" % - str(self.cr.fetchall()) - ) - self.assertTrue( - ids, - 'Transaction %s not found after parse.' % str(domain) - ) - - def _test_statement_import( - self, module_name, file_name, statement_name, local_account=False, - start_balance=False, end_balance=False, transactions=None): - """Test correct creation of single statement.""" - import_model = self.env['account.bank.statement.import'] - partner_bank_model = self.env['res.partner.bank'] - statement_model = self.env['account.bank.statement'] - statement_path = get_module_resource( - module_name, - 'test_files', - file_name - ) - statement_file = open( - statement_path, 'rb').read().encode('base64') - bank_statement_id = import_model.create( - dict( - data_file=statement_file, - ) - ) - bank_statement_id.import_file() - # Check wether bank account has been created: - if local_account: - bids = partner_bank_model.search( - [('acc_number', '=', local_account)]) - self.assertTrue( - bids, - 'Bank account %s not created from statement' % local_account - ) - # statement name is account number + '-' + date of last 62F line: - ids = statement_model.search([('name', '=', statement_name)]) - self.assertTrue( - ids, - 'Statement %s not found after parse.' % statement_name - ) - statement_obj = ids[0] - if start_balance: - self.assertTrue( - abs(statement_obj.balance_start - start_balance) < 0.00001, - 'Start balance %f not equal to expected %f' % - (statement_obj.balance_start, start_balance) - ) - if end_balance: - self.assertTrue( - abs(statement_obj.balance_end_real - end_balance) < 0.00001, - 'End balance %f not equal to expected %f' % - (statement_obj.balance_end_real, end_balance) - ) - # Maybe we need to test transactions? - if transactions: - for transaction in transactions: - self._test_transaction(statement_obj, **transaction) diff --git a/account_bank_statement_import_base/tests/test_res_partner_bank.py b/account_bank_statement_import_base/tests/test_res_partner_bank.py deleted file mode 100644 index d93d855..0000000 --- a/account_bank_statement_import_base/tests/test_res_partner_bank.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This file is part of account_bank_statement_import, -# an Odoo module. -# -# Copyright (c) 2015 ACSONE SA/NV () -# -# account_bank_statement_import is free software: -# you can redistribute it and/or modify it under the terms of the GNU -# Affero General Public License as published by the Free Software -# Foundation,either version 3 of the License, or (at your option) any -# later version. -# -# account_bank_statement_import is distributed -# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with account_bank_statement_import_coda. -# If not, see . -# -############################################################################## -from openerp.tests.common import TransactionCase - - -class TestResPartnerBank(TransactionCase): - """Tests acc_number - """ - - def test_sanitized_acc_number(self): - partner_bank_model = self.env['res.partner.bank'] - acc_number = " BE-001 2518823 03 " - vals = partner_bank_model.search([('acc_number', '=', acc_number)]) - self.assertEquals(0, len(vals)) - partner_bank = partner_bank_model.create({ - 'acc_number': acc_number, - 'partner_id': self.ref('base.res_partner_2'), - 'state': 'bank', - }) - vals = partner_bank_model.search([('acc_number', '=', acc_number)]) - self.assertEquals(1, len(vals)) - self.assertEquals(partner_bank, vals[0]) - vals = partner_bank_model.search([('acc_number', 'in', [acc_number])]) - self.assertEquals(1, len(vals)) - self.assertEquals(partner_bank, vals[0]) - - self.assertEqual(partner_bank.acc_number, acc_number) - - # sanitaze the acc_number - sanitized_acc_number = 'BE001251882303' - vals = partner_bank_model.search( - [('acc_number', '=', sanitized_acc_number)]) - self.assertEquals(1, len(vals)) - self.assertEquals(partner_bank, vals[0]) - vals = partner_bank_model.search( - [('acc_number', 'in', [sanitized_acc_number])]) - self.assertEquals(1, len(vals)) - self.assertEquals(partner_bank, vals[0]) - self.assertEqual(partner_bank.sanitized_acc_number, - sanitized_acc_number) - - # search is case insensitive - vals = partner_bank_model.search( - [('acc_number', '=', sanitized_acc_number.lower())]) - self.assertEquals(1, len(vals)) - vals = partner_bank_model.search( - [('acc_number', '=', acc_number.lower())]) - self.assertEquals(1, len(vals)) diff --git a/account_bank_statement_import_base/views/account_bank_statement_import_view.xml b/account_bank_statement_import_base/views/account_bank_statement_import_view.xml deleted file mode 100644 index 6aaa888..0000000 --- a/account_bank_statement_import_base/views/account_bank_statement_import_view.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - Import Bank Statements - account.bank.statement.import - 1 - -
- - -
- - - Import - ir.actions.act_window - account.bank.statement.import - form - form - new - - - - - -
-
diff --git a/account_bank_statement_import_base/views/account_config_settings.xml b/account_bank_statement_import_base/views/account_config_settings.xml deleted file mode 100644 index 78d7805..0000000 --- a/account_bank_statement_import_base/views/account_config_settings.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - account.config.settings - - - - - - - - - - - -