From 9401348181ff83df7c7e725ee8ef210b8ed851cf Mon Sep 17 00:00:00 2001 From: hsilvant <hsilvant@scop.coop> Date: Thu, 3 Sep 2020 15:06:42 +0200 Subject: [PATCH] =?UTF-8?q?Reorder=20dep=20et=20r=C3=A9gion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/res_partner.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/res_partner.xml b/views/res_partner.xml index 2f04bba..0d950b0 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -333,11 +333,11 @@ <field name="country_id" placeholder="Pays" class="o_address_country" options='{"no_open": True, "no_create": True}' attrs="{'readonly': [('write_date', '!=', False), ('project_status', '=', '6_suivi')]}" modifiers="{'readonly':[['project_status', '=', '6_suivi']]}"/> </div> + <field name="zip_departement" string="N° de département" /> + <field name="region" /> <field name="phone" widget="phone" string="Téléphone 1" attrs="{'required':['|', ('project_status','in',('4_adhesion', '5_cg')), '&', ('write_date', '=', False), ('project_status', '=', '6_suivi')]}"/> <field name="mobile" widget="phone" string="Téléphone 2" attrs="{'invisible': [('project_status', 'in', ('1_information', '2_pre-diagnostic', '3_accompagnement'))]}"/> <field name="email" widget="email" string="E-mail"/> - <field name="zip_departement" string="N° de département" /> - <field name="region" /> <field name="website" widget="url" attrs="{'invisible': [('project_status', 'in', ('1_information', '2_pre-diagnostic'))]}"/> <label for='facebook' class="oe_read_only" string="Réseaux sociaux" attrs="{'invisible':[('facebook','=',False),('linkedin','=',False),('twitter','=',False),('instagram','=',False)]}"/> <div > -- GitLab