[MIG] partner_statement: Migration to 14.0

This commit is contained in:
Rujia Liu
2021-03-30 12:00:34 +13:00
committed by Miquel Raïch
parent 7e6d3b4360
commit f3e1ac3b18
14 changed files with 274 additions and 284 deletions

View File

@@ -14,13 +14,13 @@ Partner Statement
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-reporting/tree/13.0/partner_statement
:target: https://github.com/OCA/account-financial-reporting/tree/14.0/partner_statement
:alt: OCA/account-financial-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement
:target: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-partner_statement
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/91/13.0
:target: https://runbot.odoo-community.org/runbot/91/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -96,7 +96,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20partner_statement%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20partner_statement%0Aversion:%2014.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.
@@ -128,6 +128,6 @@ 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.
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/13.0/partner_statement>`_ project on GitHub.
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/14.0/partner_statement>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -3,7 +3,7 @@
{
"name": "Partner Statement",
"version": "13.0.1.2.2",
"version": "14.0.1.0.0",
"category": "Accounting & Finance",
"summary": "OCA Financial Reports",
"author": "ForgeFlow, Odoo Community Association (OCA)",
@@ -12,6 +12,7 @@
"depends": ["account"],
"external_dependencies": {"python": ["dateutil"]},
"data": [
"security/ir.model.access.csv",
"security/statement_security.xml",
"views/activity_statement.xml",
"views/outstanding_statement.xml",

View File

@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -67,6 +67,39 @@ msgstr ""
msgid "91 - 120 Days"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
msgid ""
"<span class=\"o_form_label\">Aging details can be shown in the report, expressed in aging\n"
" buckets, so the partner can review how much is open, due or overdue.\n"
" </span>"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_wizard_view
msgid ""
"<span class=\"o_form_label\">The activity statement provides details of all activity on\n"
" a partner's receivables and payables between two selected dates. This includes all invoices,\n"
" refunds and payments. Any outstanding balance dated prior to the chosen statement\n"
" period will appear as a forward balance at the top of the statement. The list is\n"
" displayed in chronological order and is split by currencies.\n"
" </span>\n"
" <br/>\n"
" <br/>"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_wizard_view
msgid ""
"<span class=\"o_form_label\">The outstanding statement provides details of all partner's outstanding\n"
" receivables and payables up to a particular date. This includes all unpaid invoices, unclaimed\n"
" refunds and outstanding payments. The list is displayed in chronological order and is\n"
" split by currencies.\n"
" </span>\n"
" <br/>\n"
" <br/>"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
@@ -142,13 +175,6 @@ msgstr ""
msgid "Aging Report at"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
msgid ""
"Aging details can be shown in the report, expressed in aging "
"buckets, so the partner can review how much is open, due or overdue."
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "Amount"
@@ -230,6 +256,7 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__display_name
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_activity_statement__display_name
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_outstanding_statement__display_name
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__display_name
#: model:ir.model.fields,field_description:partner_statement.field_statement_common__display_name
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__display_name
msgid "Display Name"
@@ -286,6 +313,7 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__id
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_activity_statement__id
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_outstanding_statement__id
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__id
#: model:ir.model.fields,field_description:partner_statement.field_statement_common__id
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__id
msgid "ID"
@@ -296,6 +324,7 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard____last_update
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_activity_statement____last_update
#: model:ir.model.fields,field_description:partner_statement.field_report_partner_statement_outstanding_statement____last_update
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings____last_update
#: model:ir.model.fields,field_description:partner_statement.field_statement_common____last_update
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard____last_update
msgid "Last Modified on"
@@ -434,27 +463,6 @@ msgstr ""
msgid "Supplier"
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_wizard_view
msgid ""
"The activity statement provides details of all activity on"
" a partner's receivables and payables between two "
"selected dates. This includes all invoices, refunds and "
"payments. Any outstanding balance dated prior to the chosen statement"
" period will appear as a forward balance at the top of "
"the statement. The list is displayed in chronological "
"order and is split by currencies."
msgstr ""
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_wizard_view
msgid ""
"The outstanding statement provides details of all partner's outstanding"
" receivables and payables up to a particular date. This includes all"
" unpaid invoices, unclaimed refunds and outstanding payments. The "
"list is displayed in chronological order and is split by currencies."
msgstr ""
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#: code:addons/partner_statement/report/report_statement_common.py:0

View File

@@ -9,115 +9,117 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-22 16:14+0000\n"
"PO-Revision-Date: 2017-12-22 16:14+0000\n"
"Last-Translator: Pedro Castro Silva <inactive+pcs.sossia@transifex.com>, "
"2017\n"
"PO-Revision-Date: 2021-11-15 13:36+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"Language: 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"
"X-Generator: Weblate 4.3.2\n"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "1 - 30 Days"
msgstr ""
msgstr "1 - 30 Dias"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "1 Month"
msgstr ""
msgstr "1 Mês"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "121 Days +"
msgstr ""
msgstr "121 Dias +"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "2 Months"
msgstr ""
msgstr "2 Meses"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "3 Months"
msgstr ""
msgstr "3 Meses"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "31 - 60 Days"
msgstr ""
msgstr "31 - 60 Dias"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "4 Months"
msgstr ""
msgstr "4 Meses"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "61 - 90 Days"
msgstr ""
msgstr "61 - 90 Dias"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "91 - 120 Days"
msgstr ""
msgstr "91 - 120 Dias"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "<strong>Date:</strong>"
msgstr ""
msgstr "<strong>Data:</strong>"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "<strong>Partner Code:</strong>"
msgstr ""
msgstr "<strong>Código do Parceiro:</strong>"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "<strong>Partner Name:</strong>"
msgstr ""
msgstr "<strong>Nome do Parceiro:</strong>"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "<strong>The partner doesn't have due entries.</strong>"
msgstr ""
msgstr "<strong>O parceiro não tem movimentos vencidos.</strong>"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__account_type
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__account_type
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__account_type
msgid "Account type"
msgstr ""
msgstr "Tipo de Conta"
#. module: partner_statement
#: model:ir.actions.report,name:partner_statement.action_print_activity_statement
msgid "Activity Statement"
msgstr ""
msgstr "Extrato de Movimentos"
#. module: partner_statement
#: model:ir.model,name:partner_statement.model_activity_statement_wizard
msgid "Activity Statement Wizard"
msgstr ""
msgstr "Assistente de Extrato de Movimentos"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form
msgid "Activity Statements show all transactions between two dates."
msgstr ""
"Os Extratos de Movimentos mostram todas as transações compreendidas entre "
"duas datas."
#. module: partner_statement
#: model:ir.model.fields.selection,name:partner_statement.selection__activity_statement_wizard__aging_type__days
@@ -125,7 +127,7 @@ msgstr ""
#: model:ir.model.fields.selection,name:partner_statement.selection__res_config_settings__default_aging_type__days
#: model:ir.model.fields.selection,name:partner_statement.selection__statement_common_wizard__aging_type__days
msgid "Age by Days"
msgstr ""
msgstr "Antiguidade por Dias"
#. module: partner_statement
#: model:ir.model.fields.selection,name:partner_statement.selection__activity_statement_wizard__aging_type__months
@@ -133,7 +135,7 @@ msgstr ""
#: model:ir.model.fields.selection,name:partner_statement.selection__res_config_settings__default_aging_type__months
#: model:ir.model.fields.selection,name:partner_statement.selection__statement_common_wizard__aging_type__months
msgid "Age by Months"
msgstr ""
msgstr "Antiguidade por Meses"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__aging_type
@@ -141,12 +143,12 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__default_aging_type
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__aging_type
msgid "Aging Method"
msgstr ""
msgstr "Método de Antiguidade"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.aging_buckets
msgid "Aging Report at"
msgstr ""
msgstr "Resumo de Antiguidades a"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
@@ -154,11 +156,14 @@ msgid ""
"Aging details can be shown in the report, expressed in aging "
"buckets, so the partner can review how much is open, due or overdue."
msgstr ""
"Os detalhes de antiguidade podem ser mostrados no relatório, expressos em "
"intervalos de antiguidade, para que o parceiro possa rever quanto está "
"aberto, devido ou vencido."
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "Amount"
msgstr ""
msgstr "Montante"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@@ -169,7 +174,7 @@ msgstr "Saldo"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "Balance Forward"
msgstr ""
msgstr "Saldo à Data"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
@@ -186,7 +191,7 @@ msgstr "Empresa"
#. module: partner_statement
#: model:ir.model,name:partner_statement.model_res_config_settings
msgid "Config Settings"
msgstr ""
msgstr "Parâmetros de Configuração"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__create_uid
@@ -204,7 +209,7 @@ msgstr "Criado em"
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "Current"
msgstr ""
msgstr "Corrente"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
@@ -216,20 +221,19 @@ msgstr "Data"
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__date_end
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__date_end
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__date_end
#, fuzzy
msgid "Date End"
msgstr "Data"
msgstr "Data Final"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__date_start
msgid "Date Start"
msgstr ""
msgstr "Data de Início"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Description"
msgstr ""
msgstr "Descrição"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__display_name
@@ -246,29 +250,28 @@ msgstr "Exibir nome"
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__filter_partners_non_due
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__filter_partners_non_due
msgid "Don't show partners with no due entries"
msgstr ""
msgstr "Não mostrar parceiros sem entradas vencidas"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
#, fuzzy
msgid "Due Date"
msgstr "Data"
msgstr "Data de Vencimento"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__group_activity_statement
msgid "Enable OCA Activity Statements"
msgstr ""
msgstr "Ativar Extratos de Movimentos OCA"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__group_outstanding_statement
msgid "Enable OCA Outstanding Statements"
msgstr ""
msgstr "Ativar Extratos de Pendentes OCA"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Ending Balance"
msgstr ""
msgstr "Saldo Final"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__filter_negative_balances
@@ -276,12 +279,12 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__default_filter_negative_balances
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__filter_negative_balances
msgid "Exclude Negative Balances"
msgstr ""
msgstr "Excluir Saldos Negativos"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__default_filter_partners_non_due
msgid "Exclude partners with no due entries"
msgstr ""
msgstr "Excluir parceiros sem entradas vencidas"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view
@@ -325,82 +328,84 @@ msgstr "Última atualização por"
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__name
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__name
msgid "Name"
msgstr ""
msgstr "Nome"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__number_partner_ids
#: model:ir.model.fields,field_description:partner_statement.field_outstanding_statement_wizard__number_partner_ids
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__number_partner_ids
msgid "Number Partner"
msgstr ""
msgstr "Nº do Parceiro"
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "Older"
msgstr ""
msgstr "Mais Antigo"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Open Amount"
msgstr ""
msgstr "Valor a Liq."
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Original"
msgstr ""
msgstr "Original"
#. module: partner_statement
#: model:ir.actions.report,name:partner_statement.action_print_outstanding_statement
msgid "Outstanding Statement"
msgstr ""
msgstr "Extrato de Documentos Pendentes"
#. module: partner_statement
#: model:ir.model,name:partner_statement.model_outstanding_statement_wizard
msgid "Outstanding Statement Wizard"
msgstr ""
msgstr "Assistente de Extrato de Documentos Pendentes"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form
msgid "Outstanding Statements show all transactions up to a date."
msgstr ""
"Os Extratos de Documentos Pendentes mostram todas as transações até uma "
"certa data."
#. module: partner_statement
#: model:ir.actions.act_window,name:partner_statement.activity_statement_wizard_action
#: model:ir.model,name:partner_statement.model_report_partner_statement_activity_statement
msgid "Partner Activity Statement"
msgstr ""
msgstr "Extrato de Movimentos de Parceiro"
#. module: partner_statement
#: model:ir.actions.act_window,name:partner_statement.outstanding_statement_wizard_action
#: model:ir.model,name:partner_statement.model_report_partner_statement_outstanding_statement
msgid "Partner Outstanding Statement"
msgstr ""
msgstr "Extrato de Pendentes de Parceiro"
#. module: partner_statement
#: model:ir.model.fields.selection,name:partner_statement.selection__activity_statement_wizard__account_type__payable
#: model:ir.model.fields.selection,name:partner_statement.selection__outstanding_statement_wizard__account_type__payable
#: model:ir.model.fields.selection,name:partner_statement.selection__statement_common_wizard__account_type__payable
msgid "Payable"
msgstr ""
msgstr "A Pagar"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.res_config_settings_view_form
msgid "Please set defaults under Activity Statements."
msgstr ""
msgstr "Por favor, defina os valores padrão em Extrato de Movimentos."
#. module: partner_statement
#: model:ir.model.fields.selection,name:partner_statement.selection__activity_statement_wizard__account_type__receivable
#: model:ir.model.fields.selection,name:partner_statement.selection__outstanding_statement_wizard__account_type__receivable
#: model:ir.model.fields.selection,name:partner_statement.selection__statement_common_wizard__account_type__receivable
msgid "Receivable"
msgstr ""
msgstr "A Receber"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Reference number"
msgstr ""
msgstr "Referência"
#. module: partner_statement
#: model:ir.model.fields,field_description:partner_statement.field_activity_statement_wizard__show_aging_buckets
@@ -408,38 +413,38 @@ msgstr ""
#: model:ir.model.fields,field_description:partner_statement.field_res_config_settings__default_show_aging_buckets
#: model:ir.model.fields,field_description:partner_statement.field_statement_common_wizard__show_aging_buckets
msgid "Show Aging Buckets"
msgstr ""
msgstr "Mostrar Interv. Antiguidade"
#. module: partner_statement
#: model:ir.model,name:partner_statement.model_statement_common
msgid "Statement Reports Common"
msgstr ""
msgstr "Relatórios Comuns de Extrato"
#. module: partner_statement
#: model:ir.model,name:partner_statement.model_statement_common_wizard
msgid "Statement Reports Common Wizard"
msgstr ""
msgstr "Assistente de Relatórios Comuns de Extrato"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "Statement between"
msgstr ""
msgstr "Extrato entre"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Statement of Account"
msgstr ""
msgstr "Extrato de Conta"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "Statement up to"
msgstr ""
msgstr "Exrtato até"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "Supplier"
msgstr ""
msgstr "Fornecedor"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_wizard_view
@@ -452,6 +457,12 @@ msgid ""
"top of the statement. The list is displayed in "
"chronological order and is split by currencies."
msgstr ""
"O extrato de conta fornece os detalhes de todos os movimentos sobre as "
"contas a receber e a pagar de um parceiro entre duas datas selecionadas. "
"Isto inclui todas as faturas, créditos e pagamentos. Qualquer saldo pendente "
"datado antes do período escolhido para o extrato aparecerá como um saldo à "
"data no topo da declaração. A lista é exibida em ordem cronológica e "
"dividida por moedas."
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_wizard_view
@@ -462,34 +473,38 @@ msgid ""
"payments. The list is displayed in chronological order and is split "
"by currencies."
msgstr ""
"O extrato de documentos pendentes fornece detalhes de todos os valores "
"pendentes do parceiro, a pagar ou a receber, até uma determinada data. Isto "
"inclui todas as faturas não pagas, créditos não reclamados e pagamentos "
"pendentes. A lista é exibida em ordem cronológica e dividida por moedas."
#. module: partner_statement
#: code:addons/partner_statement/report/report_statement_common.py:0
#, python-format
msgid "Total"
msgstr ""
msgstr "Total"
#. module: partner_statement
#: model:res.groups,name:partner_statement.group_activity_statement
msgid "Use activity statements"
msgstr ""
msgstr "Usar extratos de movimentos"
#. module: partner_statement
#: model:res.groups,name:partner_statement.group_outstanding_statement
msgid "Use outstanding statements"
msgstr ""
msgstr "Usar extratos de pendentes"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
msgid "and"
msgstr ""
msgstr "e"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.activity_statement_document
#: model_terms:ir.ui.view,arch_db:partner_statement.aging_buckets
#: model_terms:ir.ui.view,arch_db:partner_statement.outstanding_statement_document
msgid "in"
msgstr ""
msgstr "em"
#. module: partner_statement
#: model_terms:ir.ui.view,arch_db:partner_statement.statement_common_view

View File

@@ -23,13 +23,15 @@ class ActivityStatement(models.AbstractModel):
ELSE sum(l.debit)
END as debit,
CASE WHEN l.currency_id is not null AND l.amount_currency < 0.0
THEN sum(-l.amount_currency)
THEN sum(l.amount_currency * (-1))
ELSE sum(l.credit)
END as credit
FROM account_move_line l
JOIN account_account aa ON (aa.id = l.account_id)
JOIN account_account_type at ON (at.id = aa.user_type_id)
JOIN account_move m ON (l.move_id = m.id)
WHERE l.partner_id IN %(partners)s
AND l.account_internal_type = %(account_type)s
AND at.type = %(account_type)s
AND l.date < %(date_start)s AND not l.blocked
AND m.state IN ('posted')
GROUP BY l.partner_id, l.currency_id, l.amount_currency, l.company_id
@@ -105,10 +107,12 @@ class ActivityStatement(models.AbstractModel):
ELSE l.date_maturity
END as date_maturity
FROM account_move_line l
JOIN account_account aa ON (aa.id = l.account_id)
JOIN account_account_type at ON (at.id = aa.user_type_id)
JOIN account_move m ON (l.move_id = m.id)
JOIN account_journal aj ON (l.journal_id = aj.id)
WHERE l.partner_id IN %(partners)s
AND l.account_internal_type = %(account_type)s
AND at.type = %(account_type)s
AND %(date_start)s <= l.date
AND l.date <= %(date_end)s
AND m.state IN ('posted')

View File

@@ -16,76 +16,62 @@ class OutstandingStatement(models.AbstractModel):
return str(
self._cr.mogrify(
"""
SELECT l.id, m.name AS move_id, l.partner_id, l.date, l.name,
l.blocked, l.currency_id, l.company_id,
CASE WHEN l.ref IS NOT NULL THEN l.ref ELSE m.ref END as ref,
SELECT l.id, m.name AS move_id, l.partner_id, l.date, l.name,
l.blocked, l.currency_id, l.company_id,
CASE WHEN l.ref IS NOT NULL
THEN l.ref
ELSE m.ref
END as ref,
CASE WHEN (l.currency_id is not null AND l.amount_currency > 0.0)
THEN avg(l.amount_currency)
ELSE avg(l.debit)
END as debit,
CASE WHEN (l.currency_id is not null AND l.amount_currency < 0.0)
THEN avg(-l.amount_currency)
THEN avg(l.amount_currency * (-1))
ELSE avg(l.credit)
END as credit,
(abs(COALESCE(l.balance, 0.0)) + sum(
coalesce(pr.pr_sign, 0.0) * coalesce(pr.amount, 0.0))
) * sign(COALESCE(l.balance, 0.0)) AS open_amount,
(abs(COALESCE(l.amount_currency, 0.0)) + sum(
coalesce(pr.pr_sign, 0.0) * CASE
WHEN pr.currency_id IS NOT NULL AND pr.currency_id = l.currency_id
THEN coalesce(pr.amount_currency, 0.0)
WHEN cur.id IS NOT NULL AND ROUND(
abs(COALESCE(l.balance, 0.0)), cur.decimal_places) > 0.0
THEN ROUND(coalesce(pr.amount, 0.0) *
COALESCE(l.amount_currency, 0.0) / NULLIF(l.balance, 0.0),
cur.decimal_places)
ELSE ROUND(coalesce(pr.amount, 0.0) *
COALESCE((
SELECT r.rate FROM res_currency_rate r
JOIN account_move_line aml
ON pr.credit_move_id = aml.id
WHERE r.currency_id = l.currency_id
AND r.name <= aml.date
AND (r.company_id IS NULL
OR r.company_id = l.company_id)
ORDER BY r.company_id, r.name DESC LIMIT 1), 1.0),
cur.decimal_places)
END)
) * sign(COALESCE(l.amount_currency, 0.0)) AS open_amount_currency,
CASE WHEN l.balance > 0.0
THEN l.balance - sum(coalesce(pd.amount, 0.0))
ELSE l.balance + sum(coalesce(pc.amount, 0.0))
END AS open_amount,
CASE WHEN l.balance > 0.0
THEN l.amount_currency - sum(coalesce(pd.debit_amount_currency, 0.0))
ELSE l.amount_currency + sum(coalesce(pc.credit_amount_currency, 0.0))
END AS open_amount_currency,
CASE WHEN l.date_maturity is null
THEN l.date
ELSE l.date_maturity
END as date_maturity
FROM (
SELECT l.*, CASE
WHEN l.debit = 0.0 AND l.credit = 0.0 AND l.currency_id IS NOT NULL
AND ROUND(COALESCE(l.amount_currency, 0.0),
cur.decimal_places) > 0.0 THEN 1
WHEN l.debit = 0.0 AND l.credit = 0.0 AND l.currency_id IS NOT NULL
AND ROUND(COALESCE(l.amount_currency, 0.0),
cur.decimal_places) < 0.0 THEN -1
WHEN l.balance > 0.0 THEN 1 ELSE -1 END as sign
FROM account_move_line l
LEFT JOIN res_currency cur ON cur.id = l.currency_id
) l
JOIN account_move m ON l.move_id = m.id
LEFT JOIN res_currency cur ON cur.id = l.currency_id
LEFT JOIN LATERAL (SELECT pr.*,
CASE WHEN pr.credit_move_id = l.id THEN l.sign
ELSE -l.sign END AS pr_sign
FROM account_partial_reconcile pr
WHERE pr.max_date <= %(date_end)s AND (
(pr.debit_move_id = l.id) OR (pr.credit_move_id = l.id))
) as pr ON TRUE
WHERE l.partner_id IN %(partners)s
AND l.account_internal_type = %(account_type)s
AND (
(pr.id IS NOT NULL AND pr.max_date <= %(date_end)s) OR
(pr.id IS NULL)
) AND l.date <= %(date_end)s AND m.state IN ('posted')
GROUP BY l.id, l.partner_id, m.name, l.date, l.date_maturity, l.name,
CASE WHEN l.ref IS NOT NULL THEN l.ref ELSE m.ref END,
l.blocked, l.currency_id, l.balance, l.amount_currency, l.company_id
JOIN account_account aa ON (aa.id = l.account_id)
JOIN account_account_type at ON (at.id = aa.user_type_id)
JOIN account_move m ON (l.move_id = m.id)
LEFT JOIN (SELECT pr.*
FROM account_partial_reconcile pr
INNER JOIN account_move_line l2
ON pr.credit_move_id = l2.id
WHERE l2.date <= %(date_end)s
) as pd ON pd.debit_move_id = l.id
LEFT JOIN (SELECT pr.*
FROM account_partial_reconcile pr
INNER JOIN account_move_line l2
ON pr.debit_move_id = l2.id
WHERE l2.date <= %(date_end)s
) as pc ON pc.credit_move_id = l.id
WHERE l.partner_id IN %(partners)s AND at.type = %(account_type)s
AND (
(pd.id IS NOT NULL AND
pd.max_date <= %(date_end)s) OR
(pc.id IS NOT NULL AND
pc.max_date <= %(date_end)s) OR
(pd.id IS NULL AND pc.id IS NULL)
) AND l.date <= %(date_end)s AND m.state IN ('posted')
GROUP BY l.id, l.partner_id, m.name, l.date, l.date_maturity, l.name,
CASE WHEN l.ref IS NOT NULL
THEN l.ref
ELSE m.ref
END,
l.blocked, l.currency_id, l.balance, l.amount_currency, l.company_id
""",
locals(),
),
@@ -121,9 +107,7 @@ class OutstandingStatement(models.AbstractModel):
Q2.open_amount
FROM Q2
JOIN res_company c ON (c.id = Q2.company_id)
JOIN res_currency cur ON cur.id = COALESCE(Q2.currency_id, c.currency_id)
WHERE c.id = %(company_id)s AND
round(Q2.open_amount, cur.decimal_places) != 0.0
WHERE c.id = %(company_id)s AND Q2.open_amount != 0.0
""",
locals(),
),

View File

@@ -38,66 +38,47 @@ class ReportStatementCommon(models.AbstractModel):
return str(
self._cr.mogrify(
"""
SELECT l.partner_id, l.currency_id, l.company_id, l.move_id,
(abs(COALESCE(l.balance, 0.0)) + sum(
coalesce(pr.pr_sign, 0.0) * coalesce(pr.amount, 0.0))
) * sign(COALESCE(l.balance, 0.0)) AS open_due,
(abs(COALESCE(l.amount_currency, 0.0)) + sum(
coalesce(pr.pr_sign, 0.0) * CASE
WHEN pr.currency_id IS NOT NULL AND pr.currency_id = l.currency_id
THEN coalesce(pr.amount_currency, 0.0)
WHEN cur.id IS NOT NULL AND ROUND(
abs(COALESCE(l.balance, 0.0)), cur.decimal_places) > 0.0
THEN ROUND(coalesce(pr.amount, 0.0) *
COALESCE(l.amount_currency, 0.0) / NULLIF(l.balance, 0.0),
cur.decimal_places)
ELSE ROUND(coalesce(pr.amount, 0.0) *
COALESCE((
SELECT r.rate FROM res_currency_rate r
JOIN account_move_line aml
ON pr.credit_move_id = aml.id
WHERE r.currency_id = l.currency_id
AND r.name <= aml.date
AND (r.company_id IS NULL
OR r.company_id = l.company_id)
ORDER BY r.company_id, r.name DESC LIMIT 1), 1.0),
cur.decimal_places)
END)
) * sign(COALESCE(l.amount_currency, 0.0)) AS open_due_currency,
SELECT l.partner_id, l.currency_id, l.company_id, l.move_id,
CASE WHEN l.balance > 0.0
THEN l.balance - sum(coalesce(pd.amount, 0.0))
ELSE l.balance + sum(coalesce(pc.amount, 0.0))
END AS open_due,
CASE WHEN l.balance > 0.0
THEN l.amount_currency - sum(coalesce(pd.debit_amount_currency, 0.0))
ELSE l.amount_currency + sum(coalesce(pc.credit_amount_currency, 0.0))
END AS open_due_currency,
CASE WHEN l.date_maturity is null
THEN l.date
ELSE l.date_maturity
END as date_maturity
FROM (
SELECT l.*, CASE
WHEN l.debit = 0.0 AND l.credit = 0.0 AND l.currency_id IS NOT NULL
AND ROUND(COALESCE(l.amount_currency, 0.0),
cur.decimal_places) > 0.0 THEN 1
WHEN l.debit = 0.0 AND l.credit = 0.0 AND l.currency_id IS NOT NULL
AND ROUND(COALESCE(l.amount_currency, 0.0),
cur.decimal_places) < 0.0 THEN -1
WHEN l.balance > 0.0 THEN 1 ELSE -1 END as sign
END as date_maturity
FROM account_move_line l
LEFT JOIN res_currency cur ON cur.id = l.currency_id
) l
JOIN account_move m ON l.move_id = m.id
LEFT JOIN res_currency cur ON cur.id = l.currency_id
LEFT JOIN LATERAL (SELECT pr.*,
CASE WHEN pr.credit_move_id = l.id THEN l.sign
ELSE -l.sign END AS pr_sign
FROM account_partial_reconcile pr
WHERE pr.max_date <= %(date_end)s AND (
(pr.debit_move_id = l.id) OR (pr.credit_move_id = l.id))
) as pr ON TRUE
WHERE l.partner_id IN %(partners)s
AND l.account_internal_type = %(account_type)s
AND (
(pr.id IS NOT NULL AND pr.max_date <= %(date_end)s) OR
(pr.id IS NULL)
) AND l.date <= %(date_end)s AND not l.blocked
AND m.state IN ('posted')
GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity,
l.amount_currency, l.balance, l.move_id, l.company_id, l.id
JOIN account_move m ON (l.move_id = m.id)
JOIN account_account aa ON (aa.id = l.account_id)
JOIN account_account_type at ON (at.id = aa.user_type_id)
LEFT JOIN (SELECT pr.*
FROM account_partial_reconcile pr
INNER JOIN account_move_line l2
ON pr.credit_move_id = l2.id
WHERE l2.date <= %(date_end)s
) as pd ON pd.debit_move_id = l.id
LEFT JOIN (SELECT pr.*
FROM account_partial_reconcile pr
INNER JOIN account_move_line l2
ON pr.debit_move_id = l2.id
WHERE l2.date <= %(date_end)s
) as pc ON pc.credit_move_id = l.id
WHERE l.partner_id IN %(partners)s AND at.type = %(account_type)s
AND (
(pd.id IS NOT NULL AND
pd.max_date <= %(date_end)s) OR
(pc.id IS NOT NULL AND
pc.max_date <= %(date_end)s) OR
(pd.id IS NULL AND pc.id IS NULL)
) AND l.date <= %(date_end)s AND not l.blocked
AND m.state IN ('posted')
GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity,
l.amount_currency, l.balance, l.move_id,
l.company_id, l.id
""",
locals(),
),
@@ -307,8 +288,8 @@ class ReportStatementCommon(models.AbstractModel):
)
@api.model
# flake8: noqa: C901
def _get_report_values(self, docids, data=None):
# flake8: noqa: C901
"""
@return: returns a dict of parameters to pass to qweb report.
the most important pair is {'data': res} which contains all

View File

@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_activity_statement_wizard,access_activity_statement_wizard,model_activity_statement_wizard,account.group_account_invoice,1,1,1,0
access_outstanding_statement_wizard,access_outstanding_statement_wizard,model_outstanding_statement_wizard,account.group_account_invoice,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_activity_statement_wizard access_activity_statement_wizard model_activity_statement_wizard account.group_account_invoice 1 1 1 0
3 access_outstanding_statement_wizard access_outstanding_statement_wizard model_outstanding_statement_wizard account.group_account_invoice 1 1 1 0

View File

@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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" href="https://github.com/OCA/account-financial-reporting/tree/13.0/partner_statement"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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" href="https://github.com/OCA/account-financial-reporting/tree/14.0/partner_statement"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-partner_statement"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module extends the functionality of Invoicing to support the printing of customer and vendor statements.
There are two types of statements, Activity and Outstanding. Aging details can be shown in the reports, expressed in aging buckets,
so the customer or vendor can review how much is open, due or overdue.</p>
@@ -449,7 +449,7 @@ outstanding payments. The list is displayed in chronological order and is split
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/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 smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20partner_statement%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20partner_statement%0Aversion:%2014.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">
@@ -475,7 +475,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<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>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/13.0/partner_statement">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/14.0/partner_statement">OCA/account-financial-reporting</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>

View File

@@ -32,4 +32,4 @@ class TestResConfigSettings(TransactionCase):
self.user_obj._has_group("partner_statement.group_activity_statement")
)
res = self.env["ir.default"].get("activity.statement.wizard", "aging_type")
self.assertEquals(res, "months")
self.assertEqual(res, "months")

View File

@@ -161,13 +161,11 @@
</t>
</t>
</template>
<report
id="action_print_activity_statement"
model="res.partner"
report_type="qweb-pdf"
menu="False"
string="Activity Statement"
name="partner_statement.activity_statement"
file="partner_statement.activity_statement"
/>
<record id="action_print_activity_statement" model="ir.actions.report">
<field name="name">Activity Statement</field>
<field name="model">res.partner</field>
<field name="report_name">partner_statement.activity_statement</field>
<field name="report_type">qweb-pdf</field>
<field name="report_file">partner_statement.activity_statement</field>
</record>
</odoo>

View File

@@ -157,13 +157,11 @@
</t>
</t>
</template>
<report
id="action_print_outstanding_statement"
model="res.partner"
report_type="qweb-pdf"
menu="False"
string="Outstanding Statement"
name="partner_statement.outstanding_statement"
file="partner_statement.outstanding_statement"
/>
<record id="action_print_outstanding_statement" model="ir.actions.report">
<field name="name">Outstanding Statement</field>
<field name="model">res.partner</field>
<field name="report_name">partner_statement.outstanding_statement</field>
<field name="report_type">qweb-pdf</field>
<field name="report_file">partner_statement.outstanding_statement</field>
</record>
</odoo>

View File

@@ -11,16 +11,10 @@ class StatementCommon(models.AbstractModel):
_name = "statement.common.wizard"
_description = "Statement Reports Common Wizard"
def _get_company(self):
return (
self.env["res.company"].browse(self.env.context.get("force_company"))
or self.env.company
)
name = fields.Char()
company_id = fields.Many2one(
comodel_name="res.company",
default=_get_company,
default=lambda self: self.env.company,
string="Company",
required=True,
)

View File

@@ -3,24 +3,28 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- wizard action on res.partner -->
<act_window
id="activity_statement_wizard_action"
name="Partner Activity Statement"
binding_model="res.partner"
res_model="activity.statement.wizard"
view_mode="form"
target="new"
groups="partner_statement.group_activity_statement"
/>
<act_window
id="outstanding_statement_wizard_action"
name="Partner Outstanding Statement"
binding_model="res.partner"
res_model="outstanding.statement.wizard"
view_mode="form"
target="new"
groups="partner_statement.group_outstanding_statement"
/>
<record id="activity_statement_wizard_action" model="ir.actions.act_window">
<field name="name">Partner Activity Statement</field>
<field name="binding_model_id" ref="base.model_res_partner" />
<field name="res_model">activity.statement.wizard</field>
<field name="view_mode">form</field>
<field
name="groups_id"
eval="[(4, ref('partner_statement.group_activity_statement'))]"
/>
<field name="target">new</field>
</record>
<record id="outstanding_statement_wizard_action" model="ir.actions.act_window">
<field name="name">Partner Outstanding Statement</field>
<field name="binding_model_id" ref="base.model_res_partner" />
<field name="res_model">outstanding.statement.wizard</field>
<field name="view_mode">form</field>
<field
name="groups_id"
eval="[(4, ref('partner_statement.group_outstanding_statement'))]"
/>
<field name="target">new</field>
</record>
<!-- wizard view -->
<record id="statement_common_view" model="ir.ui.view">
<field name="name">Statement Common Wizard View</field>
@@ -28,11 +32,11 @@
<field name="arch" type="xml">
<form name="Report Options">
<div style="text-align:justify" name="info">
<label
string="Aging details can be shown in the report, expressed in aging
buckets, so the partner can review how much is open, due or overdue."
for=""
/>
<span
class="o_form_label"
>Aging details can be shown in the report, expressed in aging
buckets, so the partner can review how much is open, due or overdue.
</span>
</div>
<hr />
<group>
@@ -86,14 +90,14 @@
<field name="inherit_id" ref="partner_statement.statement_common_view" />
<field name="mode">primary</field>
<field name="arch" type="xml">
<xpath expr="//div[@name='info']/label" position="before">
<label
string="The outstanding statement provides details of all partner's outstanding
<xpath expr="//div[@name='info']/span" position="before">
<span
class="o_form_label"
>The outstanding statement provides details of all partner's outstanding
receivables and payables up to a particular date. This includes all unpaid invoices, unclaimed
refunds and outstanding payments. The list is displayed in chronological order and is
split by currencies."
for=""
/>
split by currencies.
</span>
<br />
<br />
</xpath>
@@ -105,15 +109,15 @@
<field name="inherit_id" ref="partner_statement.statement_common_view" />
<field name="mode">primary</field>
<field name="arch" type="xml">
<xpath expr="//div[@name='info']/label" position="before">
<label
string="The activity statement provides details of all activity on
<xpath expr="//div[@name='info']/span" position="before">
<span
class="o_form_label"
>The activity statement provides details of all activity on
a partner's receivables and payables between two selected dates. This includes all invoices,
refunds and payments. Any outstanding balance dated prior to the chosen statement
period will appear as a forward balance at the top of the statement. The list is
displayed in chronological order and is split by currencies."
for=""
/>
displayed in chronological order and is split by currencies.
</span>
<br />
<br />
</xpath>