Odoo Help


How to remove Create and Edit… from many2one field.?

Sairam Bandaru
on 10/15/15, 4:33 AM 3,373 views

How to hide create and edit ,hyper link  and quick create on many2one field 


Solanki Shamji

--Solanki Shamji--

| 5 2 7
Baroda, India
--Solanki Shamji--


Solanki Shamji
On 10/15/15, 5:03 AM

Try this in your .xml file

<field name="many2onefield" options="{'no_create': True, 'no_create_edit':True}" />


 < field name="many2onefield" widget='selection'/>

Yes.It worked for me. But I need to use 'web_m2x_options' module for that

Sairam Bandaru
on 10/15/15, 5:22 AM

Try widget="selection". I edited answer.

Solanki Shamji
on 10/15/15, 5:54 AM

If we use widget="selection" then name_get won't call on that field and it will return all the data at a time Now issue reolved by installing the web_m2x_options thanks

Sairam Bandaru
on 10/15/15, 6:29 AM


Solanki Shamji
on 10/15/15, 6:30 AM

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--

| 6 5 6
Baroda, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 5/25/17, 7:03 AM

Please use below code.

<attribute name="options">{'no_create_edit': True, 'no_create':True, 'no_open':True}</attribute>


<attribute name="widget">selection</attribute>

I hope this help you.

Best Thanks,

Ankit H Gandhi.

Dr Obx
On 10/15/15, 5:55 AM


<should work on any type of field options="{'no_create': True, 'no_quick_create': True, 'no_create_edit':True}"/>


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: 10/15/15, 4:33 AM
Seen: 3373 times
Last updated: 5/25/17, 7:03 AM