From e1ff683494ddba045b45604a51b59ece854e0e4d Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 21 Jan 2019 12:31:37 +0100 Subject: [PATCH] [IMP]GOLEM Activity Registration Payment : invoice filters * Last year should not show this year ; * Translations. --- .../__manifest__.py | 2 +- .../i18n/fr.po | 19 +++++++++++++++++-- .../golem_activity_registration_payment.pot | 19 +++++++++++++++++-- .../views/account_invoice.xml | 6 ++++-- 4 files changed, 39 insertions(+), 7 deletions(-) diff --git a/golem_activity_registration_payment/__manifest__.py b/golem_activity_registration_payment/__manifest__.py index e39e80c..cac2e1a 100644 --- a/golem_activity_registration_payment/__manifest__.py +++ b/golem_activity_registration_payment/__manifest__.py @@ -20,7 +20,7 @@ 'name': 'GOLEM Activity Member Registration Payments', 'summary': 'GOLEM Activities Member Registration Payments', 'description': 'GOLEM Activities Member Registration Payments', - 'version': '10.0.0.6.1', + 'version': '10.0.0.7.0', 'category': 'GOLEM', 'author': 'Fabien Bourgeois', 'license': 'AGPL-3', diff --git a/golem_activity_registration_payment/i18n/fr.po b/golem_activity_registration_payment/i18n/fr.po index 202edba..d584e3a 100644 --- a/golem_activity_registration_payment/i18n/fr.po +++ b/golem_activity_registration_payment/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-01 17:43+0000\n" -"PO-Revision-Date: 2018-11-01 18:45+0100\n" +"POT-Creation-Date: 2019-01-21 11:30+0000\n" +"PO-Revision-Date: 2019-01-21 12:31+0100\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -60,6 +60,11 @@ msgstr "Toutes les inscriptions confirmées ont déjà été facturées." msgid "Amount" msgstr "Montant" +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "By Month" +msgstr "Mois de facturation" + #. module: golem_activity_registration_payment #: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment msgid "By invoice state" @@ -261,6 +266,11 @@ msgstr "Dernière mise à jour par" msgid "Last Updated on" msgstr "Dernière mise à jour le" +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "Last year invoices" +msgstr "Année dernière" + #. module: golem_activity_registration_payment #: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id msgid "Member" @@ -362,6 +372,11 @@ msgstr "Il n'y a pas de facture générée." msgid "There is no generated payments." msgstr "Il n'y a pas de paiement généré." +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "This year invoices" +msgstr "Cette année" + #. module: golem_activity_registration_payment #: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form msgid "Total" diff --git a/golem_activity_registration_payment/i18n/golem_activity_registration_payment.pot b/golem_activity_registration_payment/i18n/golem_activity_registration_payment.pot index 939a8f8..3d7414d 100644 --- a/golem_activity_registration_payment/i18n/golem_activity_registration_payment.pot +++ b/golem_activity_registration_payment/i18n/golem_activity_registration_payment.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-01 17:43+0000\n" -"PO-Revision-Date: 2018-11-01 17:43+0000\n" +"POT-Creation-Date: 2019-01-21 11:30+0000\n" +"PO-Revision-Date: 2019-01-21 11:30+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -56,6 +56,11 @@ msgstr "" msgid "Amount" msgstr "" +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "By Month" +msgstr "" + #. module: golem_activity_registration_payment #: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_search_inherit_payment msgid "By invoice state" @@ -257,6 +262,11 @@ msgstr "" msgid "Last Updated on" msgstr "" +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "Last year invoices" +msgstr "" + #. module: golem_activity_registration_payment #: model:ir.model.fields,field_description:golem_activity_registration_payment.field_golem_activity_registration_invoicing_member_id msgid "Member" @@ -358,6 +368,11 @@ msgstr "" msgid "There is no generated payments." msgstr "" +#. module: golem_activity_registration_payment +#: model:ir.ui.view,arch_db:golem_activity_registration_payment.invoice_search_inherited_activity_registration_payment +msgid "This year invoices" +msgstr "" + #. module: golem_activity_registration_payment #: model:ir.ui.view,arch_db:golem_activity_registration_payment.golem_activity_registration_invoicing_view_form msgid "Total" diff --git a/golem_activity_registration_payment/views/account_invoice.xml b/golem_activity_registration_payment/views/account_invoice.xml index aeef8f0..5253b28 100644 --- a/golem_activity_registration_payment/views/account_invoice.xml +++ b/golem_activity_registration_payment/views/account_invoice.xml @@ -20,20 +20,22 @@ along with this program. If not, see . + - + account.invoice.search.iherited.activity.registration.payment account.invoice + domain="[('date_invoice', '>=', (context_today() - datetime.timedelta(days=365.25)).strftime('%Y-01-01')), ('date_invoice', '<', context_today().strftime('%Y-01-01'))]" /> +