diff --git a/views/scop_partner_staff.xml b/views/scop_partner_staff.xml index abca84645392bff67eadb369f53cefc0f938eb79..d01bb0ac0bed927b5871551ecec4ccb8c78a1697 100644 --- a/views/scop_partner_staff.xml +++ b/views/scop_partner_staff.xml @@ -27,10 +27,10 @@ <field name="is_partner_in_tracked_naf" invisible="1"/> <field name="staff_count" attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))]}"/> <field name="staff_shareholder_count" - attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))], 'required':[('cooperative_form_id', '!=', %(cgscop_partner.form_scic)d)]}"/> + attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))]}"/> <field name="staff_shareholder_total" attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))]}"/> <field name="staff_average" - attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))], 'required':[('is_partner_in_tracked_naf', '!=', True)]}"/> + attrs="{'readonly':[('type_entry','in',('questionnaire', 'questionnaire_inscription'))], 'required':[('is_partner_in_tracked_naf', '=', True)]}"/> </group> <group name="staff_stats"> <field name="staff_men"/>