From 4070bbc8aebddc832793083275e816de421e5b3f Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Sun, 25 Sep 2022 15:41:15 +0200 Subject: [PATCH] [PYTHON][VIEW] +secondary email for partners --- i18n/fr.po | 36 ++++++++++++++++++++++++++---------- i18n/lhc.pot | 24 ++++++++++++++++++++---- lhc.py | 5 +++++ view/res_partner.xml | 3 +++ 4 files changed, 54 insertions(+), 14 deletions(-) diff --git a/i18n/fr.po b/i18n/fr.po index e194b98..e20a4b6 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -6,15 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 6.0.4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-22 16:38+0000\n" -"PO-Revision-Date: 2022-02-22 17:40+0100\n" +"POT-Creation-Date: 2022-09-25 13:22+0000\n" +"PO-Revision-Date: 2022-09-25 15:24+0200\n" "Last-Translator: Ludovic CHEVALIER \n" "Language-Team: \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.0.1\n" +"X-Generator: Poedit 3.1.1\n" #. module: lhc #: field:res.partner,county_code:0 @@ -32,9 +32,14 @@ msgid "All Companies Members" msgstr "Toutes les structures membres" #. module: lhc -#: field:res.partner,kit_sent:0 -msgid "Welcome kit sent" -msgstr "Kit de bienvenue envoyé" +#: help:res.partner,email2:0 +msgid "" +"One more email. Warning: there are no email notification\n" +" with this email. Only the main email can receive notifications." +msgstr "" +"Un autre courriel. Attention: il n'y a pas notification par courriel avec " +"cette adresse\n" +" Seul le courriel principal peut recevoir des notifications." #. module: lhc #: model:ir.model,name:lhc.model_res_users @@ -76,6 +81,11 @@ msgstr "Facturation" msgid "Annual meeting organisation" msgstr "Organisation des rencontres" +#. module: lhc +#: field:res.partner,email2:0 +msgid "Secondary email" +msgstr "Courriel alternatif" + #. module: lhc #: selection:event.registration,funding_main:0 msgid "Company" @@ -96,6 +106,11 @@ msgstr "Inscriptions" msgid "Customize OpenERP for L'Heureux Cyclage usages." msgstr "Personnalisation d'OpenERP pour les besoins de L'Heureux Cyclage." +#. module: lhc +#: field:res.partner,kit_sent:0 +msgid "Welcome kit sent" +msgstr "Kit de bienvenue envoyé" + #. module: lhc #: model:ir.actions.act_window,name:lhc.act_open_rencontres_2016_project_view #: model:ir.ui.menu,name:lhc.menu_rencontres_2016_projects @@ -123,6 +138,11 @@ msgstr "Financement principal" msgid "Usual contact" msgstr "Contact fréquent" +#. module: lhc +#: model:ir.model,name:lhc.model_crossovered_budget_lines +msgid "Budget Line" +msgstr "Ligne de budget" + #. module: lhc #: field:event.registration,gender:0 msgid "Gender" @@ -165,10 +185,6 @@ msgstr "Homme" #. module: lhc #: help:res.partner,usual_contact:0 -#, fuzzy -#| msgid "" -#| "This contact is a usual contact for L'Heureux Cyclage employees. This " -#| "field can be used to discriminated contacts for differents usages." msgid "" "This contact is a usual contact for L'Heureux Cyclage\n" " employees. This field can be used to discriminated contacts " diff --git a/i18n/lhc.pot b/i18n/lhc.pot index d2d6bb6..73dd117 100644 --- a/i18n/lhc.pot +++ b/i18n/lhc.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 7.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-22 16:38+0000\n" -"PO-Revision-Date: 2022-02-22 16:38+0000\n" +"POT-Creation-Date: 2022-09-25 13:22+0000\n" +"PO-Revision-Date: 2022-09-25 13:22+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -31,8 +31,9 @@ msgid "All Companies Members" msgstr "" #. module: lhc -#: field:res.partner,kit_sent:0 -msgid "Welcome kit sent" +#: help:res.partner,email2:0 +msgid "One more email. Warning: there are no email notification\n" +" with this email. Only the main email can receive notifications." msgstr "" #. module: lhc @@ -75,6 +76,11 @@ msgstr "" msgid "Annual meeting organisation" msgstr "" +#. module: lhc +#: field:res.partner,email2:0 +msgid "Secondary email" +msgstr "" + #. module: lhc #: selection:event.registration,funding_main:0 msgid "Company" @@ -95,6 +101,11 @@ msgstr "" msgid "Customize OpenERP for L'Heureux Cyclage usages." msgstr "" +#. module: lhc +#: field:res.partner,kit_sent:0 +msgid "Welcome kit sent" +msgstr "" + #. module: lhc #: model:ir.actions.act_window,name:lhc.act_open_rencontres_2016_project_view #: model:ir.ui.menu,name:lhc.menu_rencontres_2016_projects @@ -122,6 +133,11 @@ msgstr "" msgid "Usual contact" msgstr "" +#. module: lhc +#: model:ir.model,name:lhc.model_crossovered_budget_lines +msgid "Budget Line" +msgstr "" + #. module: lhc #: field:event.registration,gender:0 msgid "Gender" diff --git a/lhc.py b/lhc.py index 32ac0bf..b1fca6a 100644 --- a/lhc.py +++ b/lhc.py @@ -60,6 +60,11 @@ class res_partner(orm.Model): lambda self, cr, uid, ids, c={}: ids, ['zip'], 10)}, ), + 'email2': fields.char( + 'Secondary email', + size=240, + help="""One more email. Warning: there are no email notification + with this email. Only the main email can receive notifications."""), } _defaults = { diff --git a/view/res_partner.xml b/view/res_partner.xml index 92d963a..fd59a92 100644 --- a/view/res_partner.xml +++ b/view/res_partner.xml @@ -9,6 +9,9 @@ + + + -- 2.20.1