diff --git a/account_bank_statement_import_save_file/README.rst b/account_bank_statement_import_save_file/README.rst new file mode 100644 index 0000000..f8e9195 --- /dev/null +++ b/account_bank_statement_import_save_file/README.rst @@ -0,0 +1,53 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +============================ +Save imported statement file +============================ + +This module saves the original file of an imported bank statement for further reference/processing and maintains a link between bank statements and those imported files. + +Usage +===== + +On a successful import, the generated statement(s) link to an attachment containing the original file. + +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 smash it by providing detailed and welcomed feedback. + +Credits +======= + + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Holger Brunn +* Mourad EL HADJ MIMOUNE + +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 https://odoo-community.org. diff --git a/account_bank_statement_import_save_file/__init__.py b/account_bank_statement_import_save_file/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/account_bank_statement_import_save_file/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_bank_statement_import_save_file/__manifest__.py b/account_bank_statement_import_save_file/__manifest__.py new file mode 100644 index 0000000..58b38d1 --- /dev/null +++ b/account_bank_statement_import_save_file/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2015-2019 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Save imported bank statements', + 'version': '12.0.1.0.0', + 'author': 'Odoo Community Association (OCA), Therp BV', + 'license': 'AGPL-3', + 'category': 'Banking addons', + 'summary': 'Keep imported bank statements as raw data', + 'depends': [ + 'account_bank_statement_import', + ], + 'data': [ + 'views/account_bank_statement.xml', + ], + 'installable': True, + 'application': False, +} diff --git a/account_bank_statement_import_save_file/i18n/account_bank_statement_import_save_file.pot b/account_bank_statement_import_save_file/i18n/account_bank_statement_import_save_file.pot new file mode 100644 index 0000000..75b100c --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/account_bank_statement_import_save_file.pot @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" + diff --git a/account_bank_statement_import_save_file/i18n/de.po b/account_bank_statement_import_save_file/i18n/de.po new file mode 100644 index 0000000..68c79f7 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/de.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +# Udo Bremer , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-12 00:39+0000\n" +"PO-Revision-Date: 2017-08-12 00:39+0000\n" +"Last-Translator: Udo Bremer , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Kontoauszug" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Erstellungsdatum" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Beschreibung" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Kontoauszug importieren" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Datei importieren" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Importierte Datei" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Besitzer" diff --git a/account_bank_statement_import_save_file/i18n/es.po b/account_bank_statement_import_save_file/i18n/es.po new file mode 100644 index 0000000..1e792ee --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/es.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +# enjolras , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-21 01:41+0000\n" +"PO-Revision-Date: 2018-02-21 01:41+0000\n" +"Last-Translator: enjolras , 2018\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extracto bancario" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Fecha de creación" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Descripción" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importar extracto bancario" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Importar archivo" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Archivo importado" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Propietario" diff --git a/account_bank_statement_import_save_file/i18n/fi.po b/account_bank_statement_import_save_file/i18n/fi.po new file mode 100644 index 0000000..6b7122a --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/fi.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Kuvaus" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Tuo pankkiaineisto" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/fr.po b/account_bank_statement_import_save_file/i18n/fr.po new file mode 100644 index 0000000..22c53a2 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/fr.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Relevé bancaire" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Date de création" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Description" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importer Relevé Bancaire" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Fichier importé" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Fichier importé" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Propriétaire" diff --git a/account_bank_statement_import_save_file/i18n/fr_CH.po b/account_bank_statement_import_save_file/i18n/fr_CH.po new file mode 100644 index 0000000..f075b79 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/fr_CH.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importer Relevé" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/gl.po b/account_bank_statement_import_save_file/i18n/gl.po new file mode 100644 index 0000000..b064028 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/gl.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importar extracto bancario" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/hr.po b/account_bank_statement_import_save_file/i18n/hr.po new file mode 100644 index 0000000..223a330 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/hr.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-21 01:41+0000\n" +"PO-Revision-Date: 2018-02-21 01:41+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Bankovni izvod" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Datum kreiranja" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Opis" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Uvoz bankovnog izvoda" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Uvoz datoteke" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Uvežena datoteka" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Vlasnik" diff --git a/account_bank_statement_import_save_file/i18n/it.po b/account_bank_statement_import_save_file/i18n/it.po new file mode 100644 index 0000000..105e37b --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/it.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Descrizione" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Proprietario" diff --git a/account_bank_statement_import_save_file/i18n/lt.po b/account_bank_statement_import_save_file/i18n/lt.po new file mode 100644 index 0000000..86d5139 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/lt.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Aprašymas" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/lt_LT.po b/account_bank_statement_import_save_file/i18n/lt_LT.po new file mode 100644 index 0000000..e8f0f92 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/lt_LT.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: bank-statement-import (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-01 16:24+0000\n" +"PO-Revision-Date: 2015-09-01 16:25+0000\n" +"Last-Translator: <>\n" +"Language-Team: Lithuanian (Lithuania) (http://www.transifex.com/oca/OCA-bank-" +"statement-import-8-0/language/lt_LT/)\n" +"Language: lt_LT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importuoti banko išrašą" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/nb_NO.po b/account_bank_statement_import_save_file/i18n/nb_NO.po new file mode 100644 index 0000000..fe793d6 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/nb_NO.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importer bankutsagn" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/nl.po b/account_bank_statement_import_save_file/i18n/nl.po new file mode 100644 index 0000000..523f95b --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/nl.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Bankafschrift" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importeer bankafschrift" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Importeer bestand" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Geïmporteerd bestand" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "" diff --git a/account_bank_statement_import_save_file/i18n/pt_BR.po b/account_bank_statement_import_save_file/i18n/pt_BR.po new file mode 100644 index 0000000..729c056 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/pt_BR.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extrato bancário" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Data de Criação" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Descrição" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importar Extrato Bancário" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Importar arquivo." + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Arquivo importado." + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Proprietário" diff --git a/account_bank_statement_import_save_file/i18n/pt_PT.po b/account_bank_statement_import_save_file/i18n/pt_PT.po new file mode 100644 index 0000000..4ee7704 --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/pt_PT.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Extrato Bancário" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Data de Criação" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Descrição" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Importar Extrato Bancário" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Importar ficheiro" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Ficheiro importado" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Dono" diff --git a/account_bank_statement_import_save_file/i18n/sl.po b/account_bank_statement_import_save_file/i18n/sl.po new file mode 100644 index 0000000..641a85f --- /dev/null +++ b/account_bank_statement_import_save_file/i18n/sl.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_save_file +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-11 21:55+0000\n" +"PO-Revision-Date: 2017-04-11 21:55+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"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_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement +msgid "Bank Statement" +msgstr "Bančni izpisek" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_date +msgid "Date Created" +msgstr "Datum nastanka" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_log +msgid "Description" +msgstr "Opis" + +#. module: account_bank_statement_import_save_file +#: model:ir.model,name:account_bank_statement_import_save_file.model_account_bank_statement_import +msgid "Import Bank Statement" +msgstr "Uvoz bančnega izpiska" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_file +msgid "Import file" +msgstr "Uvoz datoteke" + +#. module: account_bank_statement_import_save_file +#: model:ir.ui.view,arch_db:account_bank_statement_import_save_file.view_bank_statement_form +msgid "Imported file" +msgstr "Uvožena datoteka" + +#. module: account_bank_statement_import_save_file +#: model:ir.model.fields,field_description:account_bank_statement_import_save_file.field_account_bank_statement_import_user +msgid "Owner" +msgstr "Lastnik" diff --git a/account_bank_statement_import_save_file/models/__init__.py b/account_bank_statement_import_save_file/models/__init__.py new file mode 100644 index 0000000..b0eb256 --- /dev/null +++ b/account_bank_statement_import_save_file/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_bank_statement +from . import account_bank_statement_import diff --git a/account_bank_statement_import_save_file/models/account_bank_statement.py b/account_bank_statement_import_save_file/models/account_bank_statement.py new file mode 100644 index 0000000..4d180d0 --- /dev/null +++ b/account_bank_statement_import_save_file/models/account_bank_statement.py @@ -0,0 +1,17 @@ +# Copyright 2015-2019 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class AccountBankStatement(models.Model): + _inherit = 'account.bank.statement' + + import_file = fields.Many2one( + 'ir.attachment', 'Import file', readonly=True) + import_date = fields.Datetime( + related='import_file.create_date', string='Imported on') + import_user = fields.Many2one( + related='import_file.create_uid', string='Imported by') + import_log = fields.Text( + related='import_file.description', string='Import Warnings') diff --git a/account_bank_statement_import_save_file/models/account_bank_statement_import.py b/account_bank_statement_import_save_file/models/account_bank_statement_import.py new file mode 100644 index 0000000..ca80b85 --- /dev/null +++ b/account_bank_statement_import_save_file/models/account_bank_statement_import.py @@ -0,0 +1,38 @@ +# Copyright 2015-2019 Therp BV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models + + +class AccountBankStatementImport(models.TransientModel): + _inherit = 'account.bank.statement.import' + + @api.multi + def import_file(self): + action = \ + super(AccountBankStatementImport, self).import_file() + statement_ids = action.get('context', {}).get('statement_ids') + notifications = action.get('context', {}).get('notifications') + if statement_ids: + attach_vals = self._prepare_import_file_attachment( + self.data_file, statement_ids[0], notifications, self.filename) + attach = self.env['ir.attachment'].create(attach_vals) + self.env['account.bank.statement'].browse(statement_ids).write({ + 'import_file': attach.id}) + return action + + @api.model + def _prepare_import_file_attachment(self, data_file, statement_id, + notifications, filename): + if not filename: + filename = '' + return { + 'name': filename, + 'res_model': 'account.bank.statement', + 'res_id': statement_id, + 'datas': data_file, + 'datas_fname': filename, + 'description': '\n'.join( + '%(type)s: %(message)s' % notification + for notification in notifications) or False, + } diff --git a/account_bank_statement_import_save_file/readme/CONTRIBUTORS.rst b/account_bank_statement_import_save_file/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..a1b7115 --- /dev/null +++ b/account_bank_statement_import_save_file/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Holger Brunn +* Mourad EL HADJ MIMOUNE +* Alexis de Lattre diff --git a/account_bank_statement_import_save_file/readme/DESCRIPTION.rst b/account_bank_statement_import_save_file/readme/DESCRIPTION.rst new file mode 100644 index 0000000..7744de0 --- /dev/null +++ b/account_bank_statement_import_save_file/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module saves the original file of an imported bank statement for further reference/processing and maintains a link between bank statements and those imported files. diff --git a/account_bank_statement_import_save_file/readme/USAGE.rst b/account_bank_statement_import_save_file/readme/USAGE.rst new file mode 100644 index 0000000..634adb1 --- /dev/null +++ b/account_bank_statement_import_save_file/readme/USAGE.rst @@ -0,0 +1 @@ +On a successful import, the form view of the bank statement will have an additional tab *Imported File* which contains the original file. diff --git a/account_bank_statement_import_save_file/static/description/icon.png b/account_bank_statement_import_save_file/static/description/icon.png new file mode 100644 index 0000000..49dedcf Binary files /dev/null and b/account_bank_statement_import_save_file/static/description/icon.png differ diff --git a/account_bank_statement_import_save_file/views/account_bank_statement.xml b/account_bank_statement_import_save_file/views/account_bank_statement.xml new file mode 100644 index 0000000..070a437 --- /dev/null +++ b/account_bank_statement_import_save_file/views/account_bank_statement.xml @@ -0,0 +1,19 @@ + + + + account.bank.statement + + + + + + + + + + + + + + +