diff --git a/views/res_partner_cooperative.xml b/views/res_partner_cooperative.xml index fd4a91feacf4b0ba4c50511911e563d5b0467bea..b281fe3f8fb2812f06eaffa513256bc2948949fd 100644 --- a/views/res_partner_cooperative.xml +++ b/views/res_partner_cooperative.xml @@ -275,8 +275,8 @@ <field name="seed_end" attrs="{'invisible': [('is_seed_scop', '!=', True)], 'required':[('project_status','in',('4_adhesion', '5_cg', '6_suivi')),('is_seed_scop', '=', True)]}"/> <field name="is_incubated" attrs="{'invisible': [('project_status', '=', '1_information')]}"/> <field name="incubator_id" widget="res_partner_many2one" attrs="{'invisible': [('is_incubated', '!=', True)]}" options="{'no_create': True}"/> - <field name="staff_last" /> - <field name="staff_last_date" /> + <field name="staff_last" attrs="{'invisible': [('project_status', 'not in', ('6_suivi'))]}"/> + <field name="staff_last_date" attrs="{'invisible': [('project_status', 'not in', ('6_suivi'))]}"/> </group> </group> <notebook colspan="4">