I have 2 user group in my custom module.
example
<record model="ir.module.category" id="module_category_dsr">
<field name="name">DSR</field>
<field name="sequence">11</field
</record>
record id="group_dsr_manager" model="res.groups">
<field name="name">Manager</field>
<field name="category_id" ref="lmc_crm.module_category_dsr"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_dsr_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="lmc_crm.module_category_dsr"/>
</record>
in ir.ui.model.security I set perm_read is 0.That time administrator can delete the records.Other users can't.
Question
How to set the only manager have to permission to delete records in this module?
Group and Access Rights in Odoo: https://goo.gl/4jAhtH