i create a boolean field in the res.user form, and i want if the field is true, the group of users created (managers) can just read the list of contact on the res.partner
so i create this record on my security.xml field this way;
<record id="user_ony_see_contact" model="ir.rule">
<field name="name">access_right_rec</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="domain_force">[('all_stores','=',True)]</field>
<field name="groups" eval="[(4, ref('group_rec_managers'))]"/>
<field name="perm_unlink" eval="0"/>
<field name="perm_write" eval="0"/>
<field name="perm_read" eval="1"/>
<field name="perm_create" eval="0"/>
</record>
i have an error which tells me that the res.partner dosent contain the field 'all_stores' which is logic, i want to know how to call it the proper way in the domain field
thanks