Odoo Help

0

Restrict user from deleting contact (customer)

By
dirtyHandsPHP
on 6/23/16, 5:24 PM 415 views

I have added a new user group called driver. It should be allowed to create and edit contact of customer type but should not be allowed to delete it. I have tried to restrict this group using ACL by allowing only Read, Create and Write permissions but it's not working. It can still delete contacts.

<record id="group_rr_driver" model="res.groups">

        <field name="name">Driver</field>

        <field name="category_id" ref="module_rr_helpdesk_category"/>

        <field name="comment">Comments.</field>

</record>

Thanks in advance for your help! :)

0

Pawan

--Pawan--
1412
| 4 4 5
Hyderabad, India
--Pawan--


Pawan
On 6/24/16, 1:47 AM

Hi,

CRUD rights should work as accepted, please check for below possibilities:

1) Your user is in any other group also, having delete access for Customer object..

2) In current group, access right for customer is defined twice or more with delete access.    


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/23/16, 5:24 PM
Seen: 415 times
Last updated: 6/24/16, 1:47 AM