diff --git a/README.md b/README.md index 87bd99e..4b48159 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ addon | version | summary [account_payment_purchase_stock](account_payment_purchase_stock/) | 2.0.1.0.0| Integrate Account Payment Purchase with Stock [account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 2.0.1.0.0| Create SEPA XML files for Credit Transfers [account_payment_mode](account_payment_mode/) | 2.0.1.0.1| Account Payment Mode -[account_payment_partner](account_payment_partner/) | 2.0.1.2.2| Adds payment mode on partners and invoices +[account_payment_partner](account_payment_partner/) | 2.0.1.3.0| Adds payment mode on partners and invoices [account_payment_order_return](account_payment_order_return/) | 2.0.1.0.1| Account Payment Order Return diff --git a/account_payment_partner/README.rst b/account_payment_partner/README.rst index 2d22dda..b354b35 100644 --- a/account_payment_partner/README.rst +++ b/account_payment_partner/README.rst @@ -25,7 +25,7 @@ Account Payment Partner |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds severals fields: +This module adds several fields: * the *Supplier Payment Mode* and *Customer Payment Mode* on Partners, @@ -37,6 +37,8 @@ This module adds severals fields: * the *Bank account from journals* on Payment Mode. +* the *Payment mode* on Invoices Analysis. + On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices will be filtered per Payment Mode. diff --git a/account_payment_partner/__init__.py b/account_payment_partner/__init__.py index 83e553a..58da237 100644 --- a/account_payment_partner/__init__.py +++ b/account_payment_partner/__init__.py @@ -1,3 +1,4 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models +from . import reports diff --git a/account_payment_partner/__manifest__.py b/account_payment_partner/__manifest__.py index e124050..6e1ff77 100644 --- a/account_payment_partner/__manifest__.py +++ b/account_payment_partner/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Account Payment Partner", - "version": "2.0.1.2.2", + "version": "2.0.1.3.0", "category": "Banking addons", "license": "AGPL-3", "summary": "Adds payment mode on partners and invoices", @@ -19,6 +19,7 @@ "views/account_move_line.xml", "views/account_payment_mode.xml", "views/report_invoice.xml", + "reports/account_invoice_report_view.xml", ], "demo": ["demo/partner_demo.xml"], "installable": True, diff --git a/account_payment_partner/i18n/account_payment_partner.pot b/account_payment_partner/i18n/account_payment_partner.pot index b37a341..072482a 100644 --- a/account_payment_partner/i18n/account_payment_partner.pot +++ b/account_payment_partner/i18n/account_payment_partner.pot @@ -75,6 +75,7 @@ msgid "Customer Payment Mode" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -93,6 +94,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -100,6 +102,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -111,6 +118,7 @@ msgid "Journal Item" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -147,6 +155,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "" @@ -162,6 +171,11 @@ msgstr "" msgid "Payment Modes" msgstr "" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/ca.po b/account_payment_partner/i18n/ca.po index b19bce5..e654dda 100644 --- a/account_payment_partner/i18n/ca.po +++ b/account_payment_partner/i18n/ca.po @@ -86,6 +86,7 @@ msgid "Customer Payment Mode" msgstr "Mode de pagament del client" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -104,6 +105,7 @@ msgid "Full" msgstr "Complet" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -111,6 +113,11 @@ msgstr "Complet" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -122,6 +129,7 @@ msgid "Journal Item" msgstr "Apunt comptable" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -158,6 +166,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Mode de pagament" @@ -173,6 +182,11 @@ msgstr "" msgid "Payment Modes" msgstr "Modes de pagament" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/da_DK.po b/account_payment_partner/i18n/da_DK.po index ffbd4bb..bfe82d3 100644 --- a/account_payment_partner/i18n/da_DK.po +++ b/account_payment_partner/i18n/da_DK.po @@ -81,6 +81,7 @@ msgid "Customer Payment Mode" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -99,6 +100,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -106,6 +108,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -117,6 +124,7 @@ msgid "Journal Item" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -153,6 +161,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Betalingsform" @@ -168,6 +177,11 @@ msgstr "" msgid "Payment Modes" msgstr "" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/de.po b/account_payment_partner/i18n/de.po index 55a362e..7536ced 100644 --- a/account_payment_partner/i18n/de.po +++ b/account_payment_partner/i18n/de.po @@ -82,6 +82,7 @@ msgid "Customer Payment Mode" msgstr "Zahlungsmethode des Kunden" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -100,6 +101,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -107,6 +109,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -118,6 +125,7 @@ msgid "Journal Item" msgstr "Logbuch Eintrag" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -154,6 +162,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Zahlungsmodus" @@ -169,6 +178,11 @@ msgstr "" msgid "Payment Modes" msgstr "Zahlungsmodi" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/es.po b/account_payment_partner/i18n/es.po index 67fd83b..3918dae 100644 --- a/account_payment_partner/i18n/es.po +++ b/account_payment_partner/i18n/es.po @@ -86,6 +86,7 @@ msgid "Customer Payment Mode" msgstr "Modo de pago de cliente" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -104,6 +105,7 @@ msgid "Full" msgstr "Completo" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -111,6 +113,11 @@ msgstr "Completo" msgid "ID" msgstr "ID" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -122,6 +129,7 @@ msgid "Journal Item" msgstr "Apunte contable" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -158,6 +166,7 @@ msgstr "Dominio del tipo de filtro del banco asociado" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Modo de pago" @@ -173,6 +182,11 @@ msgstr "Dominio de Tipo de Pago Modo Filtro" msgid "Payment Modes" msgstr "Modos de pago" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/es_AR.po b/account_payment_partner/i18n/es_AR.po index b5fd467..43d7e8c 100644 --- a/account_payment_partner/i18n/es_AR.po +++ b/account_payment_partner/i18n/es_AR.po @@ -83,6 +83,7 @@ msgid "Customer Payment Mode" msgstr "Modo de Pago del Cliente" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -101,6 +102,7 @@ msgid "Full" msgstr "Completo" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -108,6 +110,11 @@ msgstr "Completo" msgid "ID" msgstr "ID" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -119,6 +126,7 @@ msgid "Journal Item" msgstr "Apunte Contable" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -155,6 +163,7 @@ msgstr "Tipo de Filtro de Dominio de Banco Asociado" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Modo de Pago" @@ -170,6 +179,11 @@ msgstr "Tipo de Filtro Dominio de Modo de Pago" msgid "Payment Modes" msgstr "Modos de Pago" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/es_CL.po b/account_payment_partner/i18n/es_CL.po index 7128725..01955ec 100644 --- a/account_payment_partner/i18n/es_CL.po +++ b/account_payment_partner/i18n/es_CL.po @@ -83,6 +83,7 @@ msgid "Customer Payment Mode" msgstr "Modo de pago del cliente" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -101,6 +102,7 @@ msgid "Full" msgstr "Completo" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -108,6 +110,11 @@ msgstr "Completo" msgid "ID" msgstr "ID" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -119,6 +126,7 @@ msgid "Journal Item" msgstr "Item de Diario" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -155,6 +163,7 @@ msgstr "Dominio del tipo de filtro del banco asociado" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Modo de Pago" @@ -170,6 +179,11 @@ msgstr "Modo de pago Tipo de filtro Dominio" msgid "Payment Modes" msgstr "Modos de pago" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/fr.po b/account_payment_partner/i18n/fr.po index b928ed9..f2dc016 100644 --- a/account_payment_partner/i18n/fr.po +++ b/account_payment_partner/i18n/fr.po @@ -84,6 +84,7 @@ msgid "Customer Payment Mode" msgstr "Mode de paiement client" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -102,6 +103,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -109,6 +111,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -120,6 +127,7 @@ msgid "Journal Item" msgstr "Élément de journal" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -156,6 +164,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Mode de paiement" @@ -171,6 +180,11 @@ msgstr "" msgid "Payment Modes" msgstr "Mode de paiement" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/fr_FR.po b/account_payment_partner/i18n/fr_FR.po index 4c8b19b..4d4d3a5 100644 --- a/account_payment_partner/i18n/fr_FR.po +++ b/account_payment_partner/i18n/fr_FR.po @@ -83,6 +83,7 @@ msgid "Customer Payment Mode" msgstr "Mode de paiement client" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -101,6 +102,7 @@ msgid "Full" msgstr "Complet" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -108,6 +110,11 @@ msgstr "Complet" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -119,6 +126,7 @@ msgid "Journal Item" msgstr "Ligne de journal" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -155,6 +163,7 @@ msgstr "Filtre de partenaire de banque de type domaine" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Mode de paiement" @@ -170,6 +179,11 @@ msgstr "Filtre de mode de paiement de type domaine" msgid "Payment Modes" msgstr "Mode de paiement" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/hr.po b/account_payment_partner/i18n/hr.po index 9720a48..d42b5d5 100644 --- a/account_payment_partner/i18n/hr.po +++ b/account_payment_partner/i18n/hr.po @@ -81,6 +81,7 @@ msgid "Customer Payment Mode" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -99,6 +100,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -106,6 +108,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -117,6 +124,7 @@ msgid "Journal Item" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -153,6 +161,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "" @@ -168,6 +177,11 @@ msgstr "" msgid "Payment Modes" msgstr "Modeli plaćanja" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/nb_NO.po b/account_payment_partner/i18n/nb_NO.po index ac3d8a2..efecd5f 100644 --- a/account_payment_partner/i18n/nb_NO.po +++ b/account_payment_partner/i18n/nb_NO.po @@ -81,6 +81,7 @@ msgid "Customer Payment Mode" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -99,6 +100,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -106,6 +108,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -117,6 +124,7 @@ msgid "Journal Item" msgstr "Journalgjenstand" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -153,6 +161,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "" @@ -169,6 +178,11 @@ msgstr "" msgid "Payment Modes" msgstr "Betalinger" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/nl.po b/account_payment_partner/i18n/nl.po index 8280e87..d1cfaf1 100644 --- a/account_payment_partner/i18n/nl.po +++ b/account_payment_partner/i18n/nl.po @@ -86,6 +86,7 @@ msgid "Customer Payment Mode" msgstr "Betaalwijze klant" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -104,6 +105,7 @@ msgid "Full" msgstr "Volledig" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -111,6 +113,11 @@ msgstr "Volledig" msgid "ID" msgstr "ID" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -122,6 +129,7 @@ msgid "Journal Item" msgstr "Boekingsregel" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -158,6 +166,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Betaalwijze" @@ -173,6 +182,11 @@ msgstr "" msgid "Payment Modes" msgstr "Betaalwijze" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/pt_BR.po b/account_payment_partner/i18n/pt_BR.po index 8cddc2b..2767102 100644 --- a/account_payment_partner/i18n/pt_BR.po +++ b/account_payment_partner/i18n/pt_BR.po @@ -81,6 +81,7 @@ msgid "Customer Payment Mode" msgstr "Modo de Pagamento do Cliente" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -99,6 +100,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -106,6 +108,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -117,6 +124,7 @@ msgid "Journal Item" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -153,6 +161,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Modo de Pagamento" @@ -168,6 +177,11 @@ msgstr "" msgid "Payment Modes" msgstr "" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/i18n/sl.po b/account_payment_partner/i18n/sl.po index f714356..4e4fd9f 100644 --- a/account_payment_partner/i18n/sl.po +++ b/account_payment_partner/i18n/sl.po @@ -81,6 +81,7 @@ msgid "Customer Payment Mode" msgstr "Metoda plačila kupca" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__display_name #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__display_name @@ -99,6 +100,7 @@ msgid "Full" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__id @@ -106,6 +108,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: account_payment_partner +#: model:ir.model,name:account_payment_partner.model_account_invoice_report +msgid "Invoices Statistics" +msgstr "" + #. module: account_payment_partner #: model:ir.model,name:account_payment_partner.model_account_move msgid "Journal Entry" @@ -117,6 +124,7 @@ msgid "Journal Item" msgstr "" #. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line____last_update #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode____last_update @@ -153,6 +161,7 @@ msgstr "" #: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment__payment_mode_id #: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_report_search msgid "Payment Mode" msgstr "Metoda plačila" @@ -168,6 +177,11 @@ msgstr "" msgid "Payment Modes" msgstr "" +#. module: account_payment_partner +#: model:ir.model.fields,field_description:account_payment_partner.field_account_invoice_report__payment_mode_id +msgid "Payment mode" +msgstr "" + #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__refund_payment_mode_id msgid "Payment mode for refunds" diff --git a/account_payment_partner/reports/__init__.py b/account_payment_partner/reports/__init__.py new file mode 100644 index 0000000..52e6270 --- /dev/null +++ b/account_payment_partner/reports/__init__.py @@ -0,0 +1 @@ +from . import account_invoice_report diff --git a/account_payment_partner/reports/account_invoice_report.py b/account_payment_partner/reports/account_invoice_report.py new file mode 100644 index 0000000..21e265b --- /dev/null +++ b/account_payment_partner/reports/account_invoice_report.py @@ -0,0 +1,18 @@ +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from flectra import fields, models + + +class AccountInvoiceReport(models.Model): + _inherit = "account.invoice.report" + + payment_mode_id = fields.Many2one( + comodel_name="account.payment.mode", + string="Payment mode", + readonly=True, + ) + + def _select(self): + select_str = super()._select() + return "%s, move.payment_mode_id AS payment_mode_id" % select_str diff --git a/account_payment_partner/reports/account_invoice_report_view.xml b/account_payment_partner/reports/account_invoice_report_view.xml new file mode 100644 index 0000000..3b238db --- /dev/null +++ b/account_payment_partner/reports/account_invoice_report_view.xml @@ -0,0 +1,24 @@ + + + + + account.invoice.report.search + account.invoice.report + + + + + + + + + + + diff --git a/account_payment_partner/static/description/index.html b/account_payment_partner/static/description/index.html index cb35ea8..fead25e 100644 --- a/account_payment_partner/static/description/index.html +++ b/account_payment_partner/static/description/index.html @@ -368,13 +368,14 @@ ul.auto-toc { !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runbot

-

This module adds severals fields:

+

This module adds several fields:

On a Payment Order, in the wizard Select Invoices to Pay, the invoices will be filtered per Payment Mode.