Browse Source
Merge pull request #100 from akretion/10.0-mig-account_bank_statement_import_save_file
Merge pull request #100 from akretion/10.0-mig-account_bank_statement_import_save_file
10.0 mig account bank statement import save filepull/101/head
Alexis de Lattre
8 years ago
committed by
GitHub
19 changed files with 468 additions and 254 deletions
-
38account_bank_statement_import_save_file/README.rst
-
22account_bank_statement_import_save_file/__init__.py
-
55account_bank_statement_import_save_file/__manifest__.py
-
28account_bank_statement_import_save_file/hooks.py
-
54account_bank_statement_import_save_file/i18n/de.po
-
27account_bank_statement_import_save_file/i18n/es.po
-
53account_bank_statement_import_save_file/i18n/fi.po
-
28account_bank_statement_import_save_file/i18n/fr.po
-
53account_bank_statement_import_save_file/i18n/it.po
-
53account_bank_statement_import_save_file/i18n/lt.po
-
23account_bank_statement_import_save_file/i18n/pt_BR.po
-
54account_bank_statement_import_save_file/i18n/pt_PT.po
-
21account_bank_statement_import_save_file/i18n/sl.po
-
22account_bank_statement_import_save_file/models/__init__.py
-
24account_bank_statement_import_save_file/models/account_bank_statement.py
-
39account_bank_statement_import_save_file/models/account_bank_statement_import.py
-
22account_bank_statement_import_save_file/tests/__init__.py
-
64account_bank_statement_import_save_file/tests/test_save_file.py
-
42account_bank_statement_import_save_file/views/account_bank_statement.xml
@ -1,22 +1,6 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# 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 <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import models |
|||
from .hooks import _post_init_hook |
@ -1,45 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# 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 <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
{ |
|||
"name": "Save imported bank statements", |
|||
"version": "8.0.1.0.0", |
|||
"author": "Therp BV", |
|||
"license": "AGPL-3", |
|||
"category": "Accounting & Finance", |
|||
"summary": "Keep imported bank statements as raw data", |
|||
"depends": [ |
|||
'name': 'Save imported bank statements', |
|||
'version': '10.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", |
|||
'data': [ |
|||
'views/account_bank_statement.xml', |
|||
], |
|||
"qweb": [ |
|||
], |
|||
"test": [ |
|||
], |
|||
"post_init_hook": '_post_init_hook', |
|||
"auto_install": False, |
|||
'installable': False, |
|||
"application": False, |
|||
"external_dependencies": { |
|||
'python': [], |
|||
}, |
|||
'post_init_hook': '_post_init_hook', |
|||
'auto_install': False, |
|||
'installable': True, |
|||
'application': False, |
|||
} |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * account_bank_statement_import_save_file |
|||
# |
|||
# Translators: |
|||
# Rudolf Schnapka <rs@techno-flex.de>, 2015 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: bank-statement-import (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2017-03-04 01:15+0000\n" |
|||
"PO-Revision-Date: 2017-03-06 19:00+0000\n" |
|||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" |
|||
"Language-Team: German (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/de/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: de\n" |
|||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|||
|
|||
#. module: account_bank_statement_import_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 |
|||
#: field:account.bank.statement,import_date:0 |
|||
msgid "Date Created" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_log:0 |
|||
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 |
|||
#: field:account.bank.statement,import_file:0 |
|||
msgid "Import file" |
|||
msgstr "Datei importieren" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: view:account.bank.statement:account_bank_statement_import_save_file.view_bank_statement_form |
|||
msgid "Imported file" |
|||
msgstr "Importierte Datei" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_user:0 |
|||
msgid "Owner" |
|||
msgstr "Besitzer" |
@ -0,0 +1,53 @@ |
|||
# 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: 2016-12-31 01:32+0000\n" |
|||
"PO-Revision-Date: 2017-01-11 08:07+0000\n" |
|||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" |
|||
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/fi/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: fi\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 |
|||
#: field:account.bank.statement,import_date:0 |
|||
msgid "Date Created" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_log:0 |
|||
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 |
|||
#: field:account.bank.statement,import_file:0 |
|||
msgid "Import file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: view:account.bank.statement:account_bank_statement_import_save_file.view_bank_statement_form |
|||
msgid "Imported file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_user:0 |
|||
msgid "Owner" |
|||
msgstr "" |
@ -0,0 +1,53 @@ |
|||
# 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: 2016-09-21 16:09+0000\n" |
|||
"PO-Revision-Date: 2016-10-04 09:43+0000\n" |
|||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" |
|||
"Language-Team: Italian (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/it/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: it\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 |
|||
#: field:account.bank.statement,import_date:0 |
|||
msgid "Date Created" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_log:0 |
|||
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 |
|||
#: field:account.bank.statement,import_file:0 |
|||
msgid "Import file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: view:account.bank.statement:account_bank_statement_import_save_file.view_bank_statement_form |
|||
msgid "Imported file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_user:0 |
|||
msgid "Owner" |
|||
msgstr "Proprietario" |
@ -0,0 +1,53 @@ |
|||
# 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: 2016-10-14 13:36+0000\n" |
|||
"PO-Revision-Date: 2016-10-11 09:51+0000\n" |
|||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" |
|||
"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/lt/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: 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_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 |
|||
#: field:account.bank.statement,import_date:0 |
|||
msgid "Date Created" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_log:0 |
|||
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 |
|||
#: field:account.bank.statement,import_file:0 |
|||
msgid "Import file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: view:account.bank.statement:account_bank_statement_import_save_file.view_bank_statement_form |
|||
msgid "Imported file" |
|||
msgstr "" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_user:0 |
|||
msgid "Owner" |
|||
msgstr "" |
@ -0,0 +1,54 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * account_bank_statement_import_save_file |
|||
# |
|||
# Translators: |
|||
# Pedro Castro Silva <pedrocs@sossia.pt>, 2016 |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: bank-statement-import (8.0)\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-08-18 10:27+0000\n" |
|||
"PO-Revision-Date: 2016-09-07 09:16+0000\n" |
|||
"Last-Translator: Pedro Castro Silva <pedrocs@sossia.pt>\n" |
|||
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-bank-statement-import-8-0/language/pt_PT/)\n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Language: pt_PT\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 |
|||
#: field:account.bank.statement,import_date:0 |
|||
msgid "Date Created" |
|||
msgstr "Data de Criação" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_log:0 |
|||
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 |
|||
#: field:account.bank.statement,import_file:0 |
|||
msgid "Import file" |
|||
msgstr "Importar ficheiro" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: view:account.bank.statement:account_bank_statement_import_save_file.view_bank_statement_form |
|||
msgid "Imported file" |
|||
msgstr "Ficheiro importado" |
|||
|
|||
#. module: account_bank_statement_import_save_file |
|||
#: field:account.bank.statement,import_user:0 |
|||
msgid "Owner" |
|||
msgstr "Dono" |
@ -1,22 +1,6 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# 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 <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import account_bank_statement |
|||
from . import account_bank_statement_import |
@ -1,21 +1,5 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# This module copyright (C) 2015 Therp BV <http://therp.nl>. |
|||
# |
|||
# 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 <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
# © 2015 Therp BV (<http://therp.nl>). |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from . import test_save_file |
@ -1,25 +1,23 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement</field> |
|||
<field name="inherit_id" ref="account.view_bank_statement_form" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@string='Transactions']" position="after"> |
|||
<page string="Imported file" attrs="{'invisible': [('import_file', '=', False)]}"> |
|||
<odoo> |
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement</field> |
|||
<field name="inherit_id" ref="account.view_bank_statement_form" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//page[@name='statement_line_ids']" position="after"> |
|||
<page string="Imported file" attrs="{'invisible': [('import_file', '=', False)]}"> |
|||
<group> |
|||
<group> |
|||
<group> |
|||
<field name="import_file" /> |
|||
</group> |
|||
<group> |
|||
<field name="import_date" /> |
|||
<field name="import_user" /> |
|||
</group> |
|||
<field name="import_file" /> |
|||
</group> |
|||
<field name="import_log" /> |
|||
</page> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<group> |
|||
<field name="import_date" /> |
|||
<field name="import_user" /> |
|||
</group> |
|||
</group> |
|||
<field name="import_log" /> |
|||
</page> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue