diff --git a/account_statement_import_move_line/README.rst b/account_statement_import_move_line/README.rst new file mode 100644 index 000000000..bd811cf45 --- /dev/null +++ b/account_statement_import_move_line/README.rst @@ -0,0 +1,120 @@ +================================ +Bank statement import move lines +================================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:4d334a31f500c8528f18bb5107c628a66189a292a6d57900d354a06f59aa8638 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github + :target: https://github.com/OCA/bank-statement-import/tree/18.0/account_statement_import_move_line + :alt: OCA/bank-statement-import +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_move_line + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +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. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +1. Go to *Settings > Users & Companies > Users*. +2. Open the user that needs to use this feature. +3. Mark the check *Show Full Accounting Features*. + +Usage +===== + +Journal entries can be imported in two ways, from a new bank statement +or from an existing bank statement. + +1. Go to Invoicing > Dashboard. +2. To import to a new statement, in the relevant bank journal click on + ‘Import journal items’. To import from an existing bank statement, + open the statement form and click on ‘Import journal items’. +3. Select the filtering options. +4. Click on the ‘Add all transaction lines’ button to automatically + select the transaction lines matching the selected criteria or click + on Add an item to manually select the transaction lines filtered by + the criteria. +5. Click the ‘Create extract lines’ button. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Luis M. Ontalba + - Victor M.M. Torres + - João Marques + - Ernesto García + - Pilar Vargas + +- Pedro Gonzalez + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-pedrobaeza| image:: https://github.com/pedrobaeza.png?size=40px + :target: https://github.com/pedrobaeza + :alt: pedrobaeza + +Current `maintainer `__: + +|maintainer-pedrobaeza| + +This module is part of the `OCA/bank-statement-import `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_statement_import_move_line/__init__.py b/account_statement_import_move_line/__init__.py new file mode 100644 index 000000000..9dd4211ea --- /dev/null +++ b/account_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_statement_import_move_line/__manifest__.py b/account_statement_import_move_line/__manifest__.py new file mode 100644 index 000000000..fa6bd149a --- /dev/null +++ b/account_statement_import_move_line/__manifest__.py @@ -0,0 +1,23 @@ +# 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": "18.0.1.0.0", + "category": "Accounting", + "summary": "Import journal items into bank statement", + "author": "Tecnativa, " "Odoo Community Association (OCA)", + "maintainers": ["pedrobaeza"], + "website": "https://github.com/OCA/bank-statement-import", + "depends": ["account_statement_base"], + "data": [ + "security/ir.model.access.csv", + "wizards/account_statement_line_create_view.xml", + "views/account_bank_statement_view.xml", + "views/account_journal_dashboard_view.xml", + ], + "license": "AGPL-3", + "development_status": "Production/Stable", + "installable": True, + "auto_install": False, +} diff --git a/account_statement_import_move_line/i18n/account_statement_import_move_line.pot b/account_statement_import_move_line/i18n/account_statement_import_move_line.pot new file mode 100644 index 000000000..acfc956ca --- /dev/null +++ b/account_statement_import_move_line/i18n/account_statement_import_move_line.pot @@ -0,0 +1,188 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_statement_import_move_line +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_statement_import_move_line/i18n/de.po b/account_statement_import_move_line/i18n/de.po new file mode 100644 index 000000000..2f02678a1 --- /dev/null +++ b/account_statement_import_move_line/i18n/de.po @@ -0,0 +1,193 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Kontoauszug" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_statement_import_move_line/i18n/es.po b/account_statement_import_move_line/i18n/es.po new file mode 100644 index 000000000..44d146346 --- /dev/null +++ b/account_statement_import_move_line/i18n/es.po @@ -0,0 +1,198 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Añadir todas las líneas" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "Todos los asientos" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "Todos los asientos confirmados" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "Permitir apuntes en litígio" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Extracto bancario" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "Crear Líneas desde apuntes" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "Crear líneas del extracto" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "Fecha vencimiento" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "ID" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "Importar apuntes contables" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Apunte contable" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "Filtro de diarios" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "Fecha del apunte" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "Apuntes contables" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "Empresa relacionada" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "Seleccionar apuntes para crear extracto" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "Movimientos destino" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "Total Residual" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "Tipo de filtro por fecha" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "Asistente para crear líneas de extracto" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" diff --git a/account_statement_import_move_line/i18n/fr.po b/account_statement_import_move_line/i18n/fr.po new file mode 100644 index 000000000..b1771ff44 --- /dev/null +++ b/account_statement_import_move_line/i18n/fr.po @@ -0,0 +1,201 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Ajouter toutes les lignes de mouvement" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "Toutes les écritures" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "Toutes les écritures validées" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Relevé bancaire" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Annuler" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_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_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "Créer les lignes de relevé" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "Nom affiché" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "Date d'échéance" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "ID" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "Importer les écritures du journal" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Écriture du journal" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "Filtre des journaux" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "Dernière modification par" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "Dernière modification le" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "Date du mouvement" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "Lignes de mouvement" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "Partenaire lié" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "Sélectionner les lignes de mouvement pour créer le relevé" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "Mouvements cibles" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "Total restant" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_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_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "Assistant pour créer des lignes de relevé" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" diff --git a/account_statement_import_move_line/i18n/hr.po b/account_statement_import_move_line/i18n/hr.po new file mode 100644 index 000000000..a62a34321 --- /dev/null +++ b/account_statement_import_move_line/i18n/hr.po @@ -0,0 +1,198 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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: 2019-11-13 15:34+0000\n" +"Last-Translator: Bole \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" +"X-Generator: Weblate 3.8\n" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Dodaj sve stavke temeljnica" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "Sve stavke" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "Sve proknjižene stavke" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Bankovni izvod" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Otkaži" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "Naziv" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "ID" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Stavka dnevnika" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" + +#~ msgid "Last Modified on" +#~ msgstr "Zadnje modificirano" diff --git a/account_statement_import_move_line/i18n/it.po b/account_statement_import_move_line/i18n/it.po new file mode 100644 index 000000000..0fee224a0 --- /dev/null +++ b/account_statement_import_move_line/i18n/it.po @@ -0,0 +1,195 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_statement_import_move_line +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-11-05 11:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "%(journal_code)s Estratto conto %(date)s" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "Importa movimenti contabili" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Aggiungi tutte le righe del movimento" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "Tutte le registrazioni" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "Tutte le registrazioni confermate" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "Consenti righe movimento contenzioso" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Estratto conto bancario" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Annulla" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "Scegliere opzioni di filtro per righe movimenti" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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 "" +"Fare clic su aggiungi tutte le righe di movimento per selezionare " +"automaticamente le righe di movimento che corrispondono ai criteri sopra " +"indicati o fare clic su Aggiungi un elemento per selezionare manualmente le " +"righe di movimento filtrate in base ai criteri sopra indicati." + +#. module: account_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "Crea righe da righe movimento" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "Crea righe estratto conto" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "Scadenza" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "ID" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "Importa movimenti contabili" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Movimento contabile" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "Filtro registri" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "Lasciare vuoto per l'utilizzo di tutti i registri" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "Collegato a una fattura o rimborso" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "Data movimento" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "Righe movimento" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "Partner relativo" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "Selezionare righe movimento per creare un estratto conto" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "Selezionare righe movimento per creare righe" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "Movimenti obiettivo" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "Totale residuo" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "Tipo di filtro data" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "Procedura guidata per creare righe estratto conto" diff --git a/account_statement_import_move_line/i18n/nl.po b/account_statement_import_move_line/i18n/nl.po new file mode 100644 index 000000000..53747c93e --- /dev/null +++ b/account_statement_import_move_line/i18n/nl.po @@ -0,0 +1,197 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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: 2021-04-23 18:47+0000\n" +"Last-Translator: Bosd \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" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "Toevoegen alle mutaties" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "Alle invoeren" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "Ale definitieve boekingen" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Bankafschrift" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "Annuleren" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "Selecteer de filters voor de boekingsregels" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "Aangemaakt door" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "Aangemaakt op" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "Weergavenaam" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "Vervaldatum" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "ID" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "Import Dagboek items" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "Dagboek items" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "Dagboek filter" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "Laat leeg voor alle dagboeken" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "Laatst bijgewerkt door" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "Laatst bijgewerkt op" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "Gekoppeld aan ene factuur of credit factuur" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "Mutatie datum" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "Mutatieregels" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "Gerelateerde partner" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "Welke mutaties" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" + +#~ msgid "Last Modified on" +#~ msgstr "Laatst bijgewerkt op" diff --git a/account_statement_import_move_line/i18n/pt_BR.po b/account_statement_import_move_line/i18n/pt_BR.po new file mode 100644 index 000000000..21d3331e5 --- /dev/null +++ b/account_statement_import_move_line/i18n/pt_BR.po @@ -0,0 +1,194 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Extrato bancário" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_statement_import_move_line/i18n/pt_PT.po b/account_statement_import_move_line/i18n/pt_PT.po new file mode 100644 index 000000000..e1c224730 --- /dev/null +++ b/account_statement_import_move_line/i18n/pt_PT.po @@ -0,0 +1,194 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Extrato Bancário" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_statement_import_move_line/i18n/sl.po b/account_statement_import_move_line/i18n/sl.po new file mode 100644 index 000000000..b5bc87056 --- /dev/null +++ b/account_statement_import_move_line/i18n/sl.po @@ -0,0 +1,194 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_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_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "%(journal_code)s Statement %(date)s" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.view_bank_statement_form +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Add All Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__all +msgid "All Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__target_move__posted +msgid "All Posted Entries" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__allow_blocked +msgid "Allow Litigation Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__statement_id +msgid "Bank Statement" +msgstr "Bančni izpisek" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Cancel" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Choose Move Lines Filter Options" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_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_statement_import_move_line +#: model:ir.actions.act_window,name:account_statement_import_move_line.account_statement_line_create_action +msgid "Create Lines from Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Create Statement Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_uid +msgid "Created by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__create_date +msgid "Created on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__display_name +msgid "Display Name" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__due_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__due +msgid "Due Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__id +msgid "ID" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_journal_dashboard_kanban_view +msgid "Import Journal Items" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__journal_ids +msgid "Journals Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Keep empty for using all journals" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__invoice +msgid "Linked to an Invoice or Refund" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_date +#: model:ir.model.fields.selection,name:account_statement_import_move_line.selection__account_statement_line_create__date_type__move +msgid "Move Date" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__move_line_ids +msgid "Move Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__partner_id +msgid "Partner Related" +msgstr "" + +#. module: account_statement_import_move_line +#. odoo-python +#: code:addons/account_statement_import_move_line/wizards/account_statement_line_create.py:0 +#, python-format +msgid "Select Move Lines to Create Statement" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Selected Move Lines to Create Lines" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__target_move +msgid "Target Moves" +msgstr "" + +#. module: account_statement_import_move_line +#: model_terms:ir.ui.view,arch_db:account_statement_import_move_line.account_statement_line_create_view_form +msgid "Total Residual" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model.fields,field_description:account_statement_import_move_line.field_account_statement_line_create__date_type +msgid "Type of Date Filter" +msgstr "" + +#. module: account_statement_import_move_line +#: model:ir.model,name:account_statement_import_move_line.model_account_statement_line_create +msgid "Wizard to create statement lines" +msgstr "" diff --git a/account_statement_import_move_line/models/__init__.py b/account_statement_import_move_line/models/__init__.py new file mode 100644 index 000000000..734357014 --- /dev/null +++ b/account_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_statement_import_move_line/models/account_move_line.py b/account_statement_import_move_line/models/account_move_line.py new file mode 100644 index 000000000..a268ddf69 --- /dev/null +++ b/account_statement_import_move_line/models/account_move_line.py @@ -0,0 +1,38 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from odoo import models + + +class AccountMoveLine(models.Model): + _inherit = "account.move.line" + + def _prepare_statement_line_vals(self, statement): + self.ensure_one() + 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, + "payment_ref": self.ref or self.name, + "date": self.date_maturity, + "currency_id": self.currency_id.id, + } + if statement.currency_id != self.currency_id: + vals.update( + { + "amount_currency": self.amount_currency, + } + ) + return vals + + 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_statement_import_move_line/pyproject.toml b/account_statement_import_move_line/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/account_statement_import_move_line/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_statement_import_move_line/readme/CONFIGURE.md b/account_statement_import_move_line/readme/CONFIGURE.md new file mode 100644 index 000000000..9de0ad041 --- /dev/null +++ b/account_statement_import_move_line/readme/CONFIGURE.md @@ -0,0 +1,5 @@ +To configure this module, you need to: + +1. Go to *Settings \> Users & Companies \> Users*. +2. Open the user that needs to use this feature. +3. Mark the check *Show Full Accounting Features*. diff --git a/account_statement_import_move_line/readme/CONTRIBUTORS.md b/account_statement_import_move_line/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..09440b593 --- /dev/null +++ b/account_statement_import_move_line/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- [Tecnativa](https://www.tecnativa.com): + - Luis M. Ontalba + - Victor M.M. Torres + - João Marques + - Ernesto García + - Pilar Vargas +- Pedro Gonzalez \<\> diff --git a/account_statement_import_move_line/readme/DESCRIPTION.md b/account_statement_import_move_line/readme/DESCRIPTION.md new file mode 100644 index 000000000..3b869d7f0 --- /dev/null +++ b/account_statement_import_move_line/readme/DESCRIPTION.md @@ -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_statement_import_move_line/readme/USAGE.md b/account_statement_import_move_line/readme/USAGE.md new file mode 100644 index 000000000..12aac7940 --- /dev/null +++ b/account_statement_import_move_line/readme/USAGE.md @@ -0,0 +1,6 @@ +Journal entries can be imported in two ways, from a new bank statement or from an existing bank statement. +1. Go to Invoicing > Dashboard. +2. To import to a new statement, in the relevant bank journal click on ‘Import journal items’. To import from an existing bank statement, open the statement form and click on ‘Import journal items’. +3. Select the filtering options. +5. Click on the ‘Add all transaction lines’ button to automatically select the transaction lines matching the selected criteria or click on Add an item to manually select the transaction lines filtered by the criteria. +6. Click the ‘Create extract lines’ button. diff --git a/account_statement_import_move_line/security/ir.model.access.csv b/account_statement_import_move_line/security/ir.model.access.csv new file mode 100644 index 000000000..9b00ab145 --- /dev/null +++ b/account_statement_import_move_line/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_statement_line_create,access_account_statement_line_create,model_account_statement_line_create,account.group_account_user,1,1,1,1 diff --git a/account_statement_import_move_line/static/description/icon.png b/account_statement_import_move_line/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/account_statement_import_move_line/static/description/icon.png differ diff --git a/account_statement_import_move_line/static/description/index.html b/account_statement_import_move_line/static/description/index.html new file mode 100644 index 000000000..82d32dff6 --- /dev/null +++ b/account_statement_import_move_line/static/description/index.html @@ -0,0 +1,463 @@ + + + + + +Bank statement import move lines + + + +
+

Bank statement import move lines

+ + +

Production/Stable License: AGPL-3 OCA/bank-statement-import Translate me on Weblate Try me on Runboat

+

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.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go to Settings > Users & Companies > Users.
  2. +
  3. Open the user that needs to use this feature.
  4. +
  5. Mark the check Show Full Accounting Features.
  6. +
+
+
+

Usage

+

Journal entries can be imported in two ways, from a new bank statement +or from an existing bank statement.

+
    +
  1. Go to Invoicing > Dashboard.
  2. +
  3. To import to a new statement, in the relevant bank journal click on +‘Import journal items’. To import from an existing bank statement, +open the statement form and click on ‘Import journal items’.
  4. +
  5. Select the filtering options.
  6. +
  7. Click on the ‘Add all transaction lines’ button to automatically +select the transaction lines matching the selected criteria or click +on Add an item to manually select the transaction lines filtered by +the criteria.
  8. +
  9. Click the ‘Create extract lines’ button.
  10. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

pedrobaeza

+

This module is part of the OCA/bank-statement-import project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_statement_import_move_line/tests/__init__.py b/account_statement_import_move_line/tests/__init__.py new file mode 100644 index 000000000..f7ea1a851 --- /dev/null +++ b/account_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_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py b/account_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py new file mode 100644 index 000000000..eb17af100 --- /dev/null +++ b/account_statement_import_move_line/tests/test_account_bank_statement_import_move_line.py @@ -0,0 +1,64 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 + +from odoo import fields +from odoo.tests import TransactionCase, tagged + + +@tagged("post_install", "-at_install") +class TestAccountBankStatementImportMoveLine(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.partner = cls.env["res.partner"].create({"name": "Test Partner 2"}) + cls.journal_bank = cls.env["account.journal"].create( + {"name": "Test Journal Bank", "type": "bank", "code": "TJB0"} + ) + cls.invoice = cls.env["account.move"].create( + { + "name": "Test Invoice 3", + "partner_id": cls.partner.id, + "move_type": "out_invoice", + "invoice_line_ids": [ + ( + 0, + 0, + { + "name": "Test line", + "quantity": 1.0, + "price_unit": 100.00, + }, + ) + ], + } + ) + cls.statement = cls.env["account.bank.statement"].create( + {"name": "Test account bank statement import move line"} + ) + cls.statement.journal_id = cls.journal_bank.id + + def test_global(self): + self.invoice.action_post() + self.assertTrue(self.invoice.id) + 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, + "allow_blocked": True, + "date_type": "move", + "move_date": fields.Date.today(), + "invoice": False, + } + ) + wizard.populate() + self.assertEqual(len(wizard.move_line_ids), 1) + line = wizard.move_line_ids + 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_statement_import_move_line/views/account_bank_statement_view.xml b/account_statement_import_move_line/views/account_bank_statement_view.xml new file mode 100644 index 000000000..2d0382214 --- /dev/null +++ b/account_statement_import_move_line/views/account_bank_statement_view.xml @@ -0,0 +1,27 @@ + + + + account.bank.statement.form.population + account.bank.statement + + + + + + + diff --git a/account_statement_import_move_line/views/account_journal_dashboard_view.xml b/account_statement_import_move_line/views/account_journal_dashboard_view.xml new file mode 100644 index 000000000..430fadab4 --- /dev/null +++ b/account_statement_import_move_line/views/account_journal_dashboard_view.xml @@ -0,0 +1,17 @@ + + + account.journal + + + + + Import Journal Items + + + + + diff --git a/account_statement_import_move_line/wizards/__init__.py b/account_statement_import_move_line/wizards/__init__.py new file mode 100644 index 000000000..062fed516 --- /dev/null +++ b/account_statement_import_move_line/wizards/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import account_statement_line_create diff --git a/account_statement_import_move_line/wizards/account_statement_line_create.py b/account_statement_import_move_line/wizards/account_statement_line_create.py new file mode 100644 index 000000000..ffc66ac0c --- /dev/null +++ b/account_statement_import_move_line/wizards/account_statement_line_create.py @@ -0,0 +1,158 @@ +# Copyright 2017 Tecnativa - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from odoo import _, api, fields, models + + +class AccountStatementLineCreate(models.TransientModel): + _name = "account.statement.line.create" + _description = "Wizard to create statement lines" + + statement_id = fields.Many2one("account.bank.statement", string="Bank Statement") + partner_id = fields.Many2one( + "res.partner", + string="Partner Related", + domain=["|", ("parent_id", "=", False), ("is_company", "=", True)], + ) + journal_ids = fields.Many2many("account.journal", string="Journals Filter") + target_move = fields.Selection( + [("posted", "All Posted Entries"), ("all", "All Entries")], + string="Target Moves", + ) + allow_blocked = fields.Boolean(string="Allow Litigation Move Lines") + invoice = fields.Boolean(string="Linked to an Invoice or Refund") + date_type = fields.Selection( + [("due", "Due Date"), ("move", "Move Date")], + string="Type of Date Filter", + required=True, + ) + due_date = fields.Date(default=fields.Date.context_today) + move_date = fields.Date(default=fields.Date.context_today) + move_line_ids = fields.Many2many("account.move.line", string="Move Lines") + + def default_get(self, field_list): + res = super().default_get(field_list) + res.update( + { + "target_move": "posted", + "date_type": "due", + "invoice": True, + } + ) + active_model = self.env.context.get("active_model") + if active_model == "account.bank.statement": + statement = ( + self.env[active_model] + .browse(self.env.context.get("active_id")) + .exists() + ) + if statement: + res.update( + { + "statement_id": statement.id, + } + ) + return res + + def _prepare_move_line_domain(self): + self.ensure_one() + domain = [ + ("reconciled", "=", False), + ( + "account_id.account_type", + "in", + ("asset_receivable", "liability_payable"), + ), + ("company_id", "=", self.env.company.id), + ] + if self.journal_ids: + domain += [("journal_id", "in", self.journal_ids.ids)] + else: + journals = self.env["account.journal"].search([]) + domain += [("journal_id", "in", journals.ids)] + if self.partner_id: + domain += [("partner_id", "=", self.partner_id.id)] + if self.target_move == "posted": + domain += [("move_id.state", "=", "posted")] + if not self.allow_blocked: + domain += [("blocked", "!=", True)] + if self.date_type == "due": + domain += [ + "|", + ("date_maturity", "<=", self.due_date), + ("date_maturity", "=", False), + ] + elif self.date_type == "move": + domain.append(("date", "<=", self.move_date)) + if self.invoice: + domain.append(("move_id", "!=", False)) + paylines = self.env["account.payment"].search( + [ + ("state", "in", ("draft", "posted", "sent")), + ("line_ids", "!=", False), + ] + ) + if paylines: + move_in_payment_ids = paylines.mapped("line_ids.id") + domain += [("id", "not in", move_in_payment_ids)] + return domain + + def populate(self): + domain = self._prepare_move_line_domain() + lines = self.env["account.move.line"].search(domain) + self.move_line_ids = False + self.move_line_ids = lines + action = { + "name": _("Select Move Lines to Create Statement"), + "type": "ir.actions.act_window", + "res_model": "account.statement.line.create", + "view_mode": "form", + "target": "new", + "res_id": self.id, + "context": self._context, + } + return action + + @api.onchange( + "date_type", + "move_date", + "due_date", + "journal_ids", + "invoice", + "target_move", + "allow_blocked", + "partner_id", + ) + def move_line_filters_change(self): + domain = self._prepare_move_line_domain() + res = {"domain": {"move_line_ids": domain}} + return res + + def create_statement_lines(self): + if self.move_line_ids: + active_model = self.env.context.get("active_model") + if active_model == "account.journal": + journal = self.env["account.journal"].browse( + self.env.context.get("active_id") + ) + statement = self.env["account.bank.statement"].create( + { + "date": fields.Date.today(), + "name": _("%(journal_code)s Statement %(date)s") + % { + "journal_code": journal.code, + "date": fields.Date.today(), + }, + } + ) + statement.journal_id = journal.id + self.statement_id = statement.id + self.move_line_ids.create_statement_line_from_move_line(self.statement_id) + return { + "type": "ir.actions.act_window", + "res_model": "account.bank.statement", + "view_mode": "form", + "res_id": self.statement_id.id, + "target": "current", + } + return True diff --git a/account_statement_import_move_line/wizards/account_statement_line_create_view.xml b/account_statement_import_move_line/wizards/account_statement_line_create_view.xml new file mode 100644 index 000000000..419abdd81 --- /dev/null +++ b/account_statement_import_move_line/wizards/account_statement_line_create_view.xml @@ -0,0 +1,82 @@ + + + + account_statement_line_create_form + account.statement.line.create + +
+ + + + + + + + + + +