Merge PR #732 into 17.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2024-11-04 07:23:03 +00:00
29 changed files with 2704 additions and 0 deletions

View File

@@ -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:a81ea0655f0f008dbef8415c0967301e03f0beeb6d7e19829dd671c47cef3a96
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/bank-statement-import-17-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=17.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 <https://github.com/OCA/bank-statement-import/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 <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_move_line%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
-------
* Tecnativa
Contributors
------------
- `Tecnativa <https://www.tecnativa.com>`__:
- Luis M. Ontalba
- Victor M.M. Torres
- João Marques
- Ernesto García
- Pilar Vargas
- Pedro Gonzalez <pegonzalezs@gmail.com>
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 <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-pedrobaeza|
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_move_line>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -0,0 +1,4 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import models
from . import wizards

View File

@@ -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": "17.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,
}

View File

@@ -0,0 +1,180 @@
# 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 15.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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
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
#: 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 ""

View File

@@ -0,0 +1,185 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
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
#: 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 ""

View File

@@ -0,0 +1,187 @@
# 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. 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
#: 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"

View File

@@ -0,0 +1,190 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Quentin THEURET <odoo@kerpeo.com>, 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 <odoo@kerpeo.com>, 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified 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__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
#: 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é"

View File

@@ -0,0 +1,187 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# Bole <bole@dajmi5.com>, 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 <bole@dajmi5.com>\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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
msgstr "Zadnje modificirano"
#. 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
#: 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 ""

View File

@@ -0,0 +1,186 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified 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__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
#: 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 ""

View File

@@ -0,0 +1,186 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
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
#: 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 ""

View File

@@ -0,0 +1,186 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
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
#: 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 ""

View File

@@ -0,0 +1,186 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_statement_import_move_line
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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
#: 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.view_bank_statement_form
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____last_update
msgid "Last Modified on"
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
#: 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 ""

View File

@@ -0,0 +1,3 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import account_move_line

View File

@@ -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

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@@ -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*.

View File

@@ -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 \<<pegonzalezs@gmail.com>\>

View File

@@ -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.

View File

@@ -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.

View File

@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_statement_line_create access_account_statement_line_create model_account_statement_line_create account.group_account_user 1 1 1 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,463 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Bank statement import move lines</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="bank-statement-import-move-lines">
<h1 class="title">Bank statement import move lines</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a81ea0655f0f008dbef8415c0967301e03f0beeb6d7e19829dd671c47cef3a96
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_move_line"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_move_line"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>To configure this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Settings &gt; Users &amp; Companies &gt; Users</em>.</li>
<li>Open the user that needs to use this feature.</li>
<li>Mark the check <em>Show Full Accounting Features</em>.</li>
</ol>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>Journal entries can be imported in two ways, from a new bank statement
or from an existing bank statement.</p>
<ol class="arabic simple">
<li>Go to Invoicing &gt; Dashboard.</li>
<li>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.</li>
<li>Select the filtering options.</li>
<li>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.</li>
<li>Click the Create extract lines button.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_move_line%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
<ul class="simple">
<li>Tecnativa</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<ul class="simple">
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>Luis M. Ontalba</li>
<li>Victor M.M. Torres</li>
<li>João Marques</li>
<li>Ernesto García</li>
<li>Pilar Vargas</li>
</ul>
</li>
<li>Pedro Gonzalez &lt;<a class="reference external" href="mailto:pegonzalezs&#64;gmail.com">pegonzalezs&#64;gmail.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/pedrobaeza"><img alt="pedrobaeza" src="https://github.com/pedrobaeza.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_move_line">OCA/bank-statement-import</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View File

@@ -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

View File

@@ -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)

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_bank_statement_form" model="ir.ui.view">
<field name="name">account.bank.statement.form.population</field>
<field name="model">account.bank.statement</field>
<field
name="inherit_id"
ref="account_statement_base.view_bank_statement_form"
/>
<field name="arch" type="xml">
<button name="open_entries" position="after">
<button
name="%(account_statement_line_create_action)d"
type="action"
class="oe_stat_button"
icon="fa-upload"
invisible="not id or not journal_id"
groups="account.group_account_user"
>
<div class="o_stat_info">
<span class="o_stat_text">Import Journal Items</span>
</div>
</button>
</button>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,17 @@
<odoo>
<record id="account_journal_dashboard_kanban_view" model="ir.ui.view">
<field name="model">account.journal</field>
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view" />
<field name="arch" type="xml">
<xpath expr="//a[@id='create_transaction']/.." position="before">
<a
name="%(account_statement_line_create_action)d"
type="action"
groups="account.group_account_user"
>
Import Journal Items
</a>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,3 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import account_statement_line_create

View File

@@ -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

View File

@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="account_statement_line_create_view_form" model="ir.ui.view">
<field name="name">account_statement_line_create_form</field>
<field name="model">account.statement.line.create</field>
<field name="arch" type="xml">
<form string="Choose Move Lines Filter Options">
<group name="main">
<field name="statement_id" invisible="1" />
<field name="partner_id" />
<field name="date_type" />
<field
name="move_date"
required="date_type == 'move'"
invisible="date_type != 'move'"
/>
<field
name="due_date"
required="date_type == 'due'"
invisible="date_type != 'due'"
/>
<field
name="journal_ids"
widget="many2many_tags"
placeholder="Keep empty for using all journals"
/>
<field name="target_move" widget="radio" />
<field name="invoice" />
<field name="allow_blocked" />
<label
for="populate"
string="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."
colspan="2"
/>
<button
name="populate"
type="object"
colspan="2"
string="Add All Move Lines"
/>
</group>
<group name="move_lines" string="Selected Move Lines to Create Lines">
<field name="move_line_ids" colspan="2" nolabel="1">
<tree>
<field name="date" optional="show" />
<field name="move_id" required="0" optional="show" />
<field name="journal_id" optional="show" />
<field name="partner_id" optional="hide" />
<field name="account_id" optional="show" />
<field name="date_maturity" optional="show" />
<field name="debit" optional="show" />
<field name="credit" optional="show" />
<field
name="amount_residual"
sum="Total Residual"
optional="show"
/>
<field name="amount_currency" optional="show" />
<field name="amount_residual_currency" optional="show" />
<field name="company_currency_id" column_invisible="1" />
</tree>
</field>
</group>
<footer>
<button
name="create_statement_lines"
type="object"
string="Create Statement Lines"
class="oe_highlight"
/>
<button string="Cancel" special="cancel" class="oe_link" />
</footer>
</form>
</field>
</record>
<record id="account_statement_line_create_action" model="ir.actions.act_window">
<field name="name">Create Lines from Move Lines</field>
<field name="res_model">account.statement.line.create</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>