From 5a4e46f9a5a8f31d45994dd9488b6c008c9cf5dc Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 21 Jan 2019 15:37:44 +0100 Subject: [PATCH] [ADD]GOLEM Member : service user mailing from tree view --- golem_member/__manifest__.py | 2 +- golem_member/i18n/fr.po | 39 +++++++++++++---------- golem_member/i18n/golem_member.pot | 37 +++++++++++---------- golem_member/views/golem_member_views.xml | 20 +++++++++++- 4 files changed, 63 insertions(+), 35 deletions(-) diff --git a/golem_member/__manifest__.py b/golem_member/__manifest__.py index c036a48..4e6ee2f 100644 --- a/golem_member/__manifest__.py +++ b/golem_member/__manifest__.py @@ -21,7 +21,7 @@ 'name': 'GOLEM non-profit members', 'summary': 'Extends Odoo contacts for MJC', 'description': 'Extends Odoo contacts for MJC', - 'version': '10.0.2.5.1', + 'version': '10.0.2.6.0', 'category': 'GOLEM', 'author': 'Fabien Bourgeois, Michel Dessenne', 'license': 'AGPL-3', diff --git a/golem_member/i18n/fr.po b/golem_member/i18n/fr.po index 5f907f2..ca7bc04 100644 --- a/golem_member/i18n/fr.po +++ b/golem_member/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 15:15+0000\n" -"PO-Revision-Date: 2018-11-01 16:21+0100\n" +"POT-Creation-Date: 2019-01-21 14:36+0000\n" +"PO-Revision-Date: 2019-01-21 15:37+0100\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -415,7 +415,7 @@ msgstr "Nom affiché" #. module: golem_member #: model:ir.model.fields,help:golem_member.field_golem_member_partner_share msgid "Either customer (no user), either shared user. Indicated the current partner is a customer without access or with a limited access created for sharing data." -msgstr "Either customer (no user), either shared user. Indicated the current partner is a customer without access or with a limited access created for sharing data." +msgstr "Le client (aucun utilisateur) ou l'utilisateur partagé a indiqué que le partenaire actuel est un client qui ne dispose pas d'accès ou qui dispose d'un accès limité pour le partage des données." #. module: golem_member #: model:ir.model.fields,field_description:golem_member.field_golem_member_electronic_processing_agreement @@ -443,7 +443,7 @@ msgid "Fax" msgstr "Fax" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:127 +#: code:addons/golem_member/models/golem_member.py:131 #, python-format msgid "Female" msgstr "Féminin" @@ -515,7 +515,7 @@ msgid "GOLEM Members Tags" msgstr "Catégories d'adhérents" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:459 +#: code:addons/golem_member/models/golem_member.py:465 #, python-format msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging." msgstr "La fusion d'adhérents n'a pas encore été implémentée. Merci de ne fusionner que des contacts non adhérents, ou bien de supprimer les adhérents manuellement en premier lieu." @@ -754,7 +754,7 @@ msgid "Latest Invoices & Payments Matching Date" msgstr "Date de dernière correspondance des factures et paiements" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:126 +#: code:addons/golem_member/models/golem_member.py:130 #, python-format msgid "Male" msgstr "Masculin" @@ -846,7 +846,7 @@ msgstr "NIC" #. module: golem_member #: model:ir.model.fields,field_description:golem_member.field_golem_member_name -#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4230 +#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4229 #: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name #: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name msgid "Name" @@ -860,8 +860,8 @@ msgid "Nationality" msgstr "Nationalité" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:399 -#: code:addons/golem_member/models/golem_member.py:402 +#: code:addons/golem_member/models/golem_member.py:405 +#: code:addons/golem_member/models/golem_member.py:408 #: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_per_season:0 #, python-format @@ -869,7 +869,7 @@ msgid "No" msgstr "Non" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:128 +#: code:addons/golem_member/models/golem_member.py:132 #, python-format msgid "Not Disclosed" msgstr "Non communiqué" @@ -1073,6 +1073,11 @@ msgstr "Self" msgid "Sequence" msgstr "Séquence" +#. module: golem_member +#: model:ir.actions.act_window,name:golem_member.action_partner_mass_mail +msgid "Service User Mass Mailing" +msgstr "Mailing aux usagers" + #. module: golem_member #: model:ir.ui.menu,name:golem_member.res_partner_category_menu msgid "Service User Tags" @@ -1230,7 +1235,7 @@ msgid "The name of official registry where this company was declared." msgstr "Nom de la ville du tribunal de commerce dans laquelle la société est enregistrée." #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:71 +#: code:addons/golem_member/models/golem_member.py:75 #, python-format msgid "The parent area is a sub area of the current area, please change it." msgstr "Le territoire parent est un sous-territoire du territoire courant, merci de modifier vos saisies." @@ -1271,14 +1276,14 @@ msgid "This field holds the image used as avatar for this contact, limited to 10 msgstr "Ce champ contient l'image utilisée comme photo d'identité pour ce contact, limitée à 1024x1024px." #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:194 +#: code:addons/golem_member/models/golem_member.py:199 #: sql_constraint:golem.member:0 #, python-format msgid "This member number has already been used." msgstr "Ce numéro d'adhérent a été déjà utilisé." #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:49 +#: code:addons/golem_member/models/golem_member.py:53 #: sql_constraint:golem.partner.area:0 #, python-format msgid "This patner area has already been used." @@ -1345,13 +1350,13 @@ msgid "Total amount you have to pay to this vendor." msgstr "Montant total à payer au fournisseur." #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:103 +#: code:addons/golem_member/models/golem_member.py:107 #, python-format msgid "Unsupported operator for age search" msgstr "Opérateur de recherche non supporté pour l'âge" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:261 +#: code:addons/golem_member/models/golem_member.py:266 #, python-format msgid "Unsupported operator for defautl season search" msgstr "Opérateur de recherche non supporté pour le filtre de saison par défaut" @@ -1387,8 +1392,8 @@ msgid "Website of Partner or Company" msgstr "Site Web pour les Partenaires ou les Sociétés" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:399 -#: code:addons/golem_member/models/golem_member.py:402 +#: code:addons/golem_member/models/golem_member.py:405 +#: code:addons/golem_member/models/golem_member.py:408 #: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_per_season:0 #, python-format diff --git a/golem_member/i18n/golem_member.pot b/golem_member/i18n/golem_member.pot index c68ec94..4a9a53e 100644 --- a/golem_member/i18n/golem_member.pot +++ b/golem_member/i18n/golem_member.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 15:15+0000\n" -"PO-Revision-Date: 2018-11-01 15:15+0000\n" +"POT-Creation-Date: 2019-01-21 14:35+0000\n" +"PO-Revision-Date: 2019-01-21 14:35+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -443,7 +443,7 @@ msgid "Fax" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:127 +#: code:addons/golem_member/models/golem_member.py:131 #, python-format msgid "Female" msgstr "" @@ -515,7 +515,7 @@ msgid "GOLEM Members Tags" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:459 +#: code:addons/golem_member/models/golem_member.py:465 #, python-format msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging." msgstr "" @@ -748,7 +748,7 @@ msgid "Latest Invoices & Payments Matching Date" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:126 +#: code:addons/golem_member/models/golem_member.py:130 #, python-format msgid "Male" msgstr "" @@ -840,7 +840,7 @@ msgstr "" #. module: golem_member #: model:ir.model.fields,field_description:golem_member.field_golem_member_name -#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4230 +#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_name_4229 #: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_name #: model:ir.model.fields,field_description:golem_member.field_golem_partner_area_street_name msgid "Name" @@ -854,8 +854,8 @@ msgid "Nationality" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:399 -#: code:addons/golem_member/models/golem_member.py:402 +#: code:addons/golem_member/models/golem_member.py:405 +#: code:addons/golem_member/models/golem_member.py:408 #: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_per_season:0 #, python-format @@ -863,7 +863,7 @@ msgid "No" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:128 +#: code:addons/golem_member/models/golem_member.py:132 #, python-format msgid "Not Disclosed" msgstr "" @@ -1065,6 +1065,11 @@ msgstr "" msgid "Sequence" msgstr "" +#. module: golem_member +#: model:ir.actions.act_window,name:golem_member.action_partner_mass_mail +msgid "Service User Mass Mailing" +msgstr "" + #. module: golem_member #: model:ir.ui.menu,name:golem_member.res_partner_category_menu msgid "Service User Tags" @@ -1222,7 +1227,7 @@ msgid "The name of official registry where this company was declared." msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:71 +#: code:addons/golem_member/models/golem_member.py:75 #, python-format msgid "The parent area is a sub area of the current area, please change it." msgstr "" @@ -1263,14 +1268,14 @@ msgid "This field holds the image used as avatar for this contact, limited to 10 msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:194 +#: code:addons/golem_member/models/golem_member.py:199 #: sql_constraint:golem.member:0 #, python-format msgid "This member number has already been used." msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:49 +#: code:addons/golem_member/models/golem_member.py:53 #: sql_constraint:golem.partner.area:0 #, python-format msgid "This patner area has already been used." @@ -1337,13 +1342,13 @@ msgid "Total amount you have to pay to this vendor." msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:103 +#: code:addons/golem_member/models/golem_member.py:107 #, python-format msgid "Unsupported operator for age search" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:261 +#: code:addons/golem_member/models/golem_member.py:266 #, python-format msgid "Unsupported operator for defautl season search" msgstr "" @@ -1379,8 +1384,8 @@ msgid "Website of Partner or Company" msgstr "" #. module: golem_member -#: code:addons/golem_member/models/golem_member.py:399 -#: code:addons/golem_member/models/golem_member.py:402 +#: code:addons/golem_member/models/golem_member.py:405 +#: code:addons/golem_member/models/golem_member.py:408 #: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_per_season:0 #, python-format diff --git a/golem_member/views/golem_member_views.xml b/golem_member/views/golem_member_views.xml index 11f3bbe..6667c75 100644 --- a/golem_member/views/golem_member_views.xml +++ b/golem_member/views/golem_member_views.xml @@ -1,7 +1,7 @@ + + Service User Mass Mail + + + ${object.partner_id.id} + + + + + + GOLEM Member Form