[IMP]Member and contact UI form differenciation

This commit is contained in:
Fabien Bourgeois 2017-06-04 18:03:42 +02:00
parent 6c2cd40020
commit 7f6920b78b
4 changed files with 41 additions and 31 deletions

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-01 17:06+0000\n" "POT-Creation-Date: 2017-06-04 16:02+0000\n"
"PO-Revision-Date: 2017-05-01 17:06+0000\n" "PO-Revision-Date: 2017-06-04 16:02+0000\n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -151,7 +151,7 @@ msgstr "Ville"
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_color #: model:ir.model.fields,field_description:golem_member.field_golem_member_color
msgid "Color Index" msgid "Color Index"
msgstr "Color Index" msgstr "Couleur"
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_commercial_partner_id #: model:ir.model.fields,field_description:golem_member.field_golem_member_commercial_partner_id
@ -213,6 +213,11 @@ msgstr "Configuration pour les calculs des numéros adhérents"
msgid "Contact details" msgid "Contact details"
msgstr "Coordonnées" msgstr "Coordonnées"
#. module: golem_member
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
msgid "Contact form"
msgstr "Fiche contact"
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_child_ids #: model:ir.model.fields,field_description:golem_member.field_golem_member_child_ids
#: model:ir.ui.menu,name:golem_member.golem_members_menu_contacts #: model:ir.ui.menu,name:golem_member.golem_members_menu_contacts
@ -600,13 +605,18 @@ msgstr "Image de taille moyenne de ce contact. Elle est automatiquement redimens
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id #: model:ir.model.fields,field_description:golem_member.field_golem_member_number_member_id
msgid "Member" msgid "Member"
msgstr "Member" msgstr "Adhérent"
#. module: golem_member #. module: golem_member
#: model:ir.ui.menu,name:golem_member.res_partner_category_menu #: model:ir.ui.menu,name:golem_member.res_partner_category_menu
msgid "Member Tags" msgid "Member Tags"
msgstr "Catégories de l'adhérent" msgstr "Catégories de l'adhérent"
#. module: golem_member
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
msgid "Member form"
msgstr "Fiche adhérent"
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_number #: model:ir.model.fields,field_description:golem_member.field_golem_member_member_number
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number #: model:ir.model.fields,field_description:golem_member.field_golem_member_number
@ -666,14 +676,10 @@ msgstr "Nationalité"
#. module: golem_member #. module: golem_member
#: code:addons/golem_member/models/golem_member.py:221 #: code:addons/golem_member/models/golem_member.py:221
#: code:addons/golem_member/models/golem_member.py:224 #: code:addons/golem_member/models/golem_member.py:224
#, python-format
msgid "No"
msgstr "Non"
#. module: golem_member
#: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0 #: selection:golem.member.numberconfig,is_per_season:0
msgid "Non" #, python-format
msgid "No"
msgstr "Non" msgstr "Non"
#. module: golem_member #. module: golem_member
@ -701,12 +707,6 @@ msgstr "Préfixe éventuel"
msgid "Others" msgid "Others"
msgstr "Autres" msgstr "Autres"
#. module: golem_member
#: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0
msgid "Oui"
msgstr "Oui"
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_opt_out_sms #: model:ir.model.fields,field_description:golem_member.field_golem_member_opt_out_sms
msgid "Out of SMS campaigns?" msgid "Out of SMS campaigns?"
@ -1067,6 +1067,8 @@ msgstr "Site Web pour les Partenaires ou les Sociétés"
#. module: golem_member #. module: golem_member
#: code:addons/golem_member/models/golem_member.py:221 #: code:addons/golem_member/models/golem_member.py:221
#: code:addons/golem_member/models/golem_member.py:224 #: code:addons/golem_member/models/golem_member.py:224
#: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0
#, python-format #, python-format
msgid "Yes" msgid "Yes"
msgstr "Oui" msgstr "Oui"

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-01 17:06+0000\n" "POT-Creation-Date: 2017-06-04 16:01+0000\n"
"PO-Revision-Date: 2017-05-01 17:06+0000\n" "PO-Revision-Date: 2017-06-04 16:01+0000\n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -212,6 +212,11 @@ msgstr ""
msgid "Contact details" msgid "Contact details"
msgstr "" msgstr ""
#. module: golem_member
#: model:ir.ui.view,arch_db:golem_member.res_partner_form_inherit_golem_member
msgid "Contact form"
msgstr ""
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_child_ids #: model:ir.model.fields,field_description:golem_member.field_golem_member_child_ids
#: model:ir.ui.menu,name:golem_member.golem_members_menu_contacts #: model:ir.ui.menu,name:golem_member.golem_members_menu_contacts
@ -600,6 +605,11 @@ msgstr ""
msgid "Member Tags" msgid "Member Tags"
msgstr "" msgstr ""
#. module: golem_member
#: model:ir.ui.view,arch_db:golem_member.golem_member_form
msgid "Member form"
msgstr ""
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_member_number #: model:ir.model.fields,field_description:golem_member.field_golem_member_member_number
#: model:ir.model.fields,field_description:golem_member.field_golem_member_number #: model:ir.model.fields,field_description:golem_member.field_golem_member_number
@ -659,14 +669,10 @@ msgstr ""
#. module: golem_member #. module: golem_member
#: code:addons/golem_member/models/golem_member.py:221 #: code:addons/golem_member/models/golem_member.py:221
#: code:addons/golem_member/models/golem_member.py:224 #: code:addons/golem_member/models/golem_member.py:224
#, python-format
msgid "No"
msgstr ""
#. module: golem_member
#: selection:golem.member.numberconfig,is_automatic:0 #: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0 #: selection:golem.member.numberconfig,is_per_season:0
msgid "Non" #, python-format
msgid "No"
msgstr "" msgstr ""
#. module: golem_member #. module: golem_member
@ -694,12 +700,6 @@ msgstr ""
msgid "Others" msgid "Others"
msgstr "" msgstr ""
#. module: golem_member
#: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0
msgid "Oui"
msgstr ""
#. module: golem_member #. module: golem_member
#: model:ir.model.fields,field_description:golem_member.field_golem_member_opt_out_sms #: model:ir.model.fields,field_description:golem_member.field_golem_member_opt_out_sms
msgid "Out of SMS campaigns?" msgid "Out of SMS campaigns?"
@ -1058,6 +1058,8 @@ msgstr ""
#. module: golem_member #. module: golem_member
#: code:addons/golem_member/models/golem_member.py:221 #: code:addons/golem_member/models/golem_member.py:221
#: code:addons/golem_member/models/golem_member.py:224 #: code:addons/golem_member/models/golem_member.py:224
#: selection:golem.member.numberconfig,is_automatic:0
#: selection:golem.member.numberconfig,is_per_season:0
#, python-format #, python-format
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""

View File

@ -26,6 +26,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<sheet> <sheet>
<div colspan="2"
style="background-color: #ccc; color: #fff; font-size: 150%; font-weight: bold; padding: 0.5%; text-align: center; margin-bottom: 1%;">Member form</div>
<group> <group>
<div class="oe_title"> <div class="oe_title">
<h1> <h1>

View File

@ -26,6 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form" /> <field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<div name="button_box" position="before">
<div colspan="2"
style="background-color: #ccc; color: #fff; font-size: 150%; font-weight: bold; padding: 0.5%; text-align: center; margin-bottom: 1%;">Contact form</div>
</div>
<h1 position="after"> <h1 position="after">
<label for="member_id" <label for="member_id"
attrs="{'invisible': ['|', ('is_company', '=', True), attrs="{'invisible': ['|', ('is_company', '=', True),