diff --git a/account_bank_statement_import_move_line/README.rst b/account_bank_statement_import_move_line/README.rst new file mode 100644 index 0000000..3f62625 --- /dev/null +++ b/account_bank_statement_import_move_line/README.rst @@ -0,0 +1 @@ +**This file is going to be generated by oca-gen-addon-readme.** diff --git a/account_bank_statement_import_move_line/__init__.py b/account_bank_statement_import_move_line/__init__.py new file mode 100644 index 0000000..9dd4211 --- /dev/null +++ b/account_bank_statement_import_move_line/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import models +from . import wizards diff --git a/account_bank_statement_import_move_line/__manifest__.py b/account_bank_statement_import_move_line/__manifest__.py new file mode 100644 index 0000000..2766111 --- /dev/null +++ b/account_bank_statement_import_move_line/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + 'name': 'Bank statement import move lines', + 'version': '11.0.1.0.0', + 'category': 'Accounting', + 'summary': 'Import journal items into bank statement', + 'author': 'Tecnativa, ' + 'Odoo Community Association (OCA)', + 'website': 'https://www.tecnativa.com', + 'depends': [ + 'account', + ], + 'data': [ + 'wizards/account_statement_line_create_view.xml', + 'views/account_bank_statement_view.xml', + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, +} diff --git a/account_bank_statement_import_move_line/i18n/account_bank_statement_import_move_line.pot b/account_bank_statement_import_move_line/i18n/account_bank_statement_import_move_line.pot new file mode 100644 index 0000000..777dcf2 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/account_bank_statement_import_move_line.pot @@ -0,0 +1,178 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Click on Add All Move Lines to auto-select the move lines matching the above criteria or click on Add an item to manually select the move lines filtered by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" + diff --git a/account_bank_statement_import_move_line/i18n/de.po b/account_bank_statement_import_move_line/i18n/de.po new file mode 100644 index 0000000..05af016 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/de.po @@ -0,0 +1,185 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: OCA Transbot , 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Kontoauszug" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/i18n/es.po b/account_bank_statement_import_move_line/i18n/es.po new file mode 100644 index 0000000..ecafa92 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/es.po @@ -0,0 +1,187 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-09 15:32+0000\n" +"PO-Revision-Date: 2017-08-09 15:32+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Añadir todas las líneas" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "Todos los asientos" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "Todos los asientos confirmados" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "Permitir apuntes en litígio" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Extracto bancario" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "Elegir opciones de filtro de apuntes" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" +"Clic en Añadir todas las líneas para seleccionar automáticamente las líneas " +"de movimiento que coinciden con los criterios anteriores o clic en Agregar " +"un elemento para seleccionar manualmente las líneas de movimiento filtradas " +"por los criterios anteriores." + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "Crear Líneas desde apuntes" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "Crear líneas del extracto" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "Creado el" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "Fecha vencimiento" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "ID" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "Importar apuntes contables" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Apunte contable" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "Filtro de diarios" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "Dejar vacío para seleccionar todos los diarios" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "Última modificación en" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "Vinculado a factura o devolución" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "Fecha del apunte" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "Apuntes contables" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "Empresa relacionada" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "Seleccionar apuntes para crear extracto" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "Apuntes seleccionados para crear líneas" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "Movimientos destino" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "Total Residual" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "Tipo de filtro por fecha" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "Asistente para crear líneas de extracto" diff --git a/account_bank_statement_import_move_line/i18n/fr.po b/account_bank_statement_import_move_line/i18n/fr.po new file mode 100644 index 0000000..fef0540 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/fr.po @@ -0,0 +1,190 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +# Quentin THEURET , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: Quentin THEURET , 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Ajouter toutes les lignes de mouvement" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "Toutes les écritures" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "Toutes les écritures validées" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "Autoriser les lignes de mouvement pour contentieux" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Relevé bancaire" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Annuler" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "Choisissez les options de filtre des lignes de mouvement" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" +"Cliquez sur Ajouter toutes les lignes de mouvement pour sélectionner " +"automatiquement les lignes de mouvement qui correspondent aux critères ci-" +"dessous ou cliquez sur Ajouter un enregistrement pour sélectionner " +"manuellement les lignes de mouvement filtrées sur les critères ci-dessous." + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "Créer les lignes depuis les lignes de mouvement" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "Créer les lignes de relevé" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "Créé le" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "Date d'échéance" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "ID" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "Importer les écritures du journal" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Écriture du journal" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "Filtre des journaux" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "Laisser vide pour utiliser tous les journaux" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "Dernière modification par" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "Dernière modification le" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "Liée à une facture ou un avoir" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "Date du mouvement" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "Lignes de mouvement" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "Partenaire lié" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "Sélectionner les lignes de mouvement pour créer le relevé" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "Lignes de mouvement sélectionnées pour créer les lignes" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "Mouvements cibles" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "Total restant" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "Filtre sur le type de date" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "Assistant pour créer des lignes de relevé" diff --git a/account_bank_statement_import_move_line/i18n/hr.po b/account_bank_statement_import_move_line/i18n/hr.po new file mode 100644 index 0000000..eb900d7 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/hr.po @@ -0,0 +1,186 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "Sve stavke" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "Sve proknjižene stavke" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Bankovni izvod" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Otkaži" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "Naziv" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "ID" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "Zadnje modificirano" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/i18n/nl.po b/account_bank_statement_import_move_line/i18n/nl.po new file mode 100644 index 0000000..c5f1d1f --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/nl.po @@ -0,0 +1,185 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Bankafschrift" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/i18n/pt_BR.po b/account_bank_statement_import_move_line/i18n/pt_BR.po new file mode 100644 index 0000000..29bbbaa --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/pt_BR.po @@ -0,0 +1,186 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Extrato bancário" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/i18n/pt_PT.po b/account_bank_statement_import_move_line/i18n/pt_PT.po new file mode 100644 index 0000000..b2d1b5d --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/pt_PT.po @@ -0,0 +1,186 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Extrato Bancário" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/i18n/sl.po b/account_bank_statement_import_move_line/i18n/sl.po new file mode 100644 index 0000000..83e1d52 --- /dev/null +++ b/account_bank_statement_import_move_line/i18n/sl.po @@ -0,0 +1,186 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_bank_statement_import_move_line +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-11 02:41+0000\n" +"PO-Revision-Date: 2017-08-11 02:41+0000\n" +"Last-Translator: 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_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,target_move:0 +msgid "All Posted Entries" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_statement_id +msgid "Bank Statement" +msgstr "Bančni izpisek" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "" +"Click on Add All Move Lines to auto-select the move lines matching the above " +"criteria or click on Add an item to manually select the move lines filtered " +"by the above criteria." +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.actions.act_window,name:account_bank_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_uid +msgid "Created by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_create_date +msgid "Created on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_display_name +msgid "Display Name" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_due_date +msgid "Due Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_id +msgid "ID" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create___last_update +msgid "Last Modified on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: selection:account.statement.line.create,date_type:0 +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_date +msgid "Move Date" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: code:addons/account_bank_statement_import_move_line/wizards/account_statement_line_create.py:96 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_target_move +msgid "Target Moves" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.ui.view,arch_db:account_bank_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model.fields,field_description:account_bank_statement_import_move_line.field_account_statement_line_create_date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_bank_statement_import_move_line +#: model:ir.model,name:account_bank_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_bank_statement_import_move_line/models/__init__.py b/account_bank_statement_import_move_line/models/__init__.py new file mode 100644 index 0000000..7343570 --- /dev/null +++ b/account_bank_statement_import_move_line/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import account_move_line diff --git a/account_bank_statement_import_move_line/models/account_move_line.py b/account_bank_statement_import_move_line/models/account_move_line.py new file mode 100644 index 0000000..5b467b9 --- /dev/null +++ b/account_bank_statement_import_move_line/models/account_move_line.py @@ -0,0 +1,36 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from odoo import api, models + + +class AccountMoveLine(models.Model): + _inherit = 'account.move.line' + + @api.multi + def _prepare_statement_line_vals(self, statement): + self.ensure_one() + assert statement, 'Missing statement' + amount = 0.0 + if self.debit > 0: + amount = self.debit + elif self.credit > 0: + amount = -self.credit + vals = { + 'name': self.name or '?', + 'amount': amount, + 'partner_id': self.partner_id.id, + 'statement_id': statement.id, + 'ref': self.ref, + 'date': self.date_maturity, + 'amount_currency': self.amount_currency, + 'currency_id': self.currency_id.id, + } + return vals + + @api.multi + def create_statement_line_from_move_line(self, statement): + abslo = self.env['account.bank.statement.line'] + for mline in self: + abslo.create(mline._prepare_statement_line_vals(statement)) + return diff --git a/account_bank_statement_import_move_line/readme/CONTRIBUTORS.rst b/account_bank_statement_import_move_line/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..4556d8d --- /dev/null +++ b/account_bank_statement_import_move_line/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Luis M. Ontalba luis.martinez@tecnativa.com> diff --git a/account_bank_statement_import_move_line/readme/DESCRIPTION.rst b/account_bank_statement_import_move_line/readme/DESCRIPTION.rst new file mode 100644 index 0000000..db08a01 --- /dev/null +++ b/account_bank_statement_import_move_line/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module adds a button to bank statement form view to open a wizard to allow +filtering, selecting and importing lines form journal items into the bank +statement. diff --git a/account_bank_statement_import_move_line/readme/USAGE.rst b/account_bank_statement_import_move_line/readme/USAGE.rst new file mode 100644 index 0000000..2be8564 --- /dev/null +++ b/account_bank_statement_import_move_line/readme/USAGE.rst @@ -0,0 +1,8 @@ +#. Go to Invoicing > Dashboard. +#. Create a new bank statement from a bank journal. +#. Click button "Import Journal Items". +#. Select filtering options. +#. Click on button "Add All Move Lines" to auto-select the move lines matching + the selected criteria or click on Add an item to manually select the move + lines filtered by the criteria. +#. Click on button "Create Statement Lines". diff --git a/account_bank_statement_import_move_line/static/description/icon.png b/account_bank_statement_import_move_line/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/account_bank_statement_import_move_line/static/description/icon.png differ diff --git a/account_bank_statement_import_move_line/tests/__init__.py b/account_bank_statement_import_move_line/tests/__init__.py new file mode 100644 index 0000000..f7ea1a8 --- /dev/null +++ b/account_bank_statement_import_move_line/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 + +from . import test_account_bank_statement_import_move_line diff --git a/account_bank_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py b/account_bank_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py new file mode 100644 index 0000000..0c3f403 --- /dev/null +++ b/account_bank_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py @@ -0,0 +1,72 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 + +from odoo.tests import common +from odoo import fields + + +class TestAccountBankStatementImportMoveLine(common.SavepointCase): + @classmethod + def setUpClass(cls): + super(TestAccountBankStatementImportMoveLine, cls).setUpClass() + cls.account_type = cls.env['account.account.type'].create({ + 'name': 'Test Account Type'}) + cls.a_receivable = cls.env['account.account'].create({ + 'code': 'TAA', + 'name': 'Test Receivable Account', + 'internal_type': 'receivable', + 'user_type_id': cls.account_type.id, + }) + cls.partner = cls.env['res.partner'].create({ + 'name': 'Test Partner 2', + 'parent_id': False, + }) + cls.journal = cls.env['account.journal'].create({ + 'name': 'Test Journal', + 'type': 'bank', + }) + cls.invoice = cls.env['account.invoice'].create({ + 'name': 'Test Invoice 3', + 'partner_id': cls.partner.id, + 'type': 'out_invoice', + 'journal_id': cls.journal.id, + 'invoice_line_ids': [(0, 0, { + 'account_id': cls.a_receivable.id, + 'name': 'Test line', + 'quantity': 1.0, + 'price_unit': 100.00, + })], + }) + cls.statement = cls.env['account.bank.statement'].create({ + 'journal_id': cls.journal.id}) + + def test_global(self): + self.invoice.action_invoice_open() + self.assertTrue(self.invoice.move_id) + self.invoice.move_id.post() + wizard_o = self.env['account.statement.line.create'] + context = wizard_o._context.copy() + context.update({ + 'active_model': 'account.bank.statement', + 'active_id': self.statement.id, + }) + wizard = wizard_o.with_context(context).create({ + 'statement_id': self.statement.id, + 'partner_id': self.partner.id, + 'journal_ids': [(4, self.journal.id)], + 'allow_blocked': True, + 'date_type': 'move', + 'move_date': fields.Date.today(), + 'invoice': False, + }) + wizard.populate() + self.assertTrue(len(wizard.move_line_ids), 2) + wizard.invoice = True + wizard.move_line_filters_change() + wizard.populate() + self.assertTrue(len(wizard.move_line_ids), 1) + line = wizard.move_line_ids[0] + self.assertEqual(line.debit, self.invoice.amount_total) + wizard.create_statement_lines() + line = self.statement.line_ids[0] + self.assertEqual(line.amount, self.invoice.amount_total) diff --git a/account_bank_statement_import_move_line/views/account_bank_statement_view.xml b/account_bank_statement_import_move_line/views/account_bank_statement_view.xml new file mode 100644 index 0000000..81ab654 --- /dev/null +++ b/account_bank_statement_import_move_line/views/account_bank_statement_view.xml @@ -0,0 +1,19 @@ + + + + + + account.bank.statement.form.population + account.bank.statement + + + +