diff --git a/views/res_partner.xml b/views/res_partner.xml index cc07f67098cfce086df620da45407c160899e62e..718ff317af8dd5023a9b156cee22a177eaf9df5d 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -52,7 +52,7 @@ <field name="recipient_file_fse"/> </group> <group string="Phase d'information"> - <field name="date_first_rdv"/> + <field name="date_first_rdv" attrs="{'required':[('project_status','=', '1_information')]}"/> <field name="date_send_guide"/> <field name="adhesion_comments"/> </group> @@ -61,7 +61,7 @@ <field name="amount_feasibility_study" widget="monetary"/> <field name="date_prediag"/> </group> - <group string="Phase d'accompagnement projet" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic'))]}"> + <group string="Phase d'accompagnement projet" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic'))]}"> <field name="date_convention"/> <field name="amount_convention" widget="monetary"/> </group>