Odoo Help


This community 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.


Can i eliminate the option to create and edit?

Carlos Llamacho
on 10/22/13, 7:02 PM 730 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 (SA)

--Sudhir Arya (SA)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow




Sudhir Arya (SA)
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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