Hello
I am in a the middle of confusion here. I am trying to prevent let's say user1 from creating a new product/ partner
I want to hide the links for this option when the user wants to input a product/partner name in the sales application
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
Hello
I am in a the middle of confusion here. I am trying to prevent let's say user1 from creating a new product/ partner
I want to hide the links for this option when the user wants to input a product/partner name in the sales application
Hi,
yes its possible to remove create and edit option from the Many2one fields, you can set it like this,
<field name="user_id" options="{'no_create': True, 'no_edit': True}"/>This will remove create edit option from M2O fields.
Same can be achieved from the odoo studio also if you are using enterprise.
See :- How to Remove Create and Edit Option From Many2one Field Odoo
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up