Odoo Help


How to remove Create and Edit... from many2one field.? [Closed]

on 3/26/13, 2:33 AM 6,398 views

The Question has been closed

on 04/30/2013 10:20:24

Please advice me How to remove "Create and Edit..." from many2one field.? that item shows below in the many2one fields which I filtered with domain option.

OpenERP version 7

Omal Bastin
On 3/26/13, 3:38 AM

There is a module for openerp 6.1 to remove the create and edit option(in the openerp apps site search for web remove) from the default selection of many2one field. You can use this as an example and create you own module. or you can modify the base codes goto your server, then navigate to openerp/addons/web/static/src/js/view_form.js and remove the quick create functionality defined from the line number 2860.

Sudhir Arya (SA)
On 3/26/13, 3:27 AM

I don't have much idea. May be for that you have to make changes in web addons.

But alternate solution is that you can make that many2one field selection. Add widget="selection" attribute in your xml.

<field name="ur_m2o_field" widget="selection>

Be careful, because widget="selection" don't work with dinamic domain!

Vasiliy Birukov
on 3/10/14, 7:26 AM

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: 3/26/13, 2:33 AM
Seen: 6398 times
Last updated: 3/16/15, 8:10 AM