Odoo Help


how to disable "create and Edit from..." from a menu [Closed]

on 5/14/13, 6:38 AM 5,383 views

The Question has been closed

Sudhir Arya (SA)
on 06/08/2013 08:31:06

how to disable "create and Edit from..." from a menu

Ex. when create timesheet under summery tab and when i add line i find the projects already created and at the end "Create and Edit...". i dt want this option available there.

i find an answer:

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.

but it remove create and edit from all menus over system i want to do that on just one menu like account when i add line in timesheet

thanks. :)

in form view give <form string="text" create="false" edit="false">

on 5/14/13, 7:39 AM

it didn't work bro .. but i could prevent creation using Access Rule

on 5/14/13, 10:06 AM
Sudhir Arya (SA)
On 5/14/13, 7:37 AM

I think How to Remove Save/Save Buttons this what you are looking for.


Hi in form view just type write create="false" and edit="false"

      <form string="My form" create="false">


How about if you want to prevent editing only when an object has changed state...e.g not to edit a purchase order that has been approved by a project manager?

on 3/31/14, 8:18 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

2 follower(s)


Asked: 5/14/13, 6:38 AM
Seen: 5383 times
Last updated: 3/16/15, 8:10 AM