Odoo Help


Many2one security on link.

Elisha Wambiji Waudo
on 9/13/17, 9:45 AM 285 views

Am trying to restrict users from changing the main company details from the employee address_id many2one link.

a user with sales rights and employee rights are able to navigate to partner page from here and change the main company information. Is there a way of preventing this from happening from that link without having to make the link un clickable

<data noupdate="1">
<record id="hr_ke_paye_partner" model="ir.rule">
<field name="name">Employee Read Only Partner</field>
<field name="model_id" ref="hr.model_res_partner"/>
<field name="perm_read" eval="1"/>
<field name="perm_write" eval="0"/>
<field name="perm_create" eval="0"/>
<field name="perm_unlink" eval="0"/>
<field name="groups" eval="[(4,ref('base.group_user'))]"/>

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.


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)


Asked: 9/13/17, 9:45 AM
Seen: 285 times
Last updated: 9/13/17, 11:02 AM