Odoo Help


Can i eliminate the option to create and edit?

Carlos Llamacho
on 10/22/13, 7:02 PM 1,138 views


When i have a many2one fields and the related table is empty i have the option to create and edit said object from the model that holds the many2one in the form of a dropdown list, right?

Is any way that i can eliminate that option alltogether? If there is no record in the related table that it will say only that?


On 10/22/13, 8:06 PM

<field name="name_id" edit="false"/>

sorry you can try this <field name="name_id" widget="selection"/>

on 10/22/13, 8:14 PM

A selection widget? Uhmn, never could have guessed it, i am going to try it. Thanks.

Carlos Llamacho
on 10/23/13, 1:28 AM

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 10/23/13, 3:59 AM

This is a duplicate question. You can see original question How to Hide Save, Remove Option.

Actually i don't want to remove the create or save button from my form, i just want to remove the option to create it from a many2one call. I want the people not be able to create a client from a sale order for example. Not the create button from the clients view.

Carlos Llamacho
on 10/23/13, 12:18 PM

I don't want to eliminate the create or save button, i just want, for example, stop the user from creating a new client from a sale order via the many2one client field.

Carlos Llamacho
on 10/23/13, 12:21 PM

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

0 follower(s)


Asked: 10/22/13, 7:02 PM
Seen: 1138 times
Last updated: 3/16/15, 8:10 AM