Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
how to disable "create and Edit from..." from a menu [Closed]
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. :)
Hi
in form view just type write create="false"
and edit="false"
<form string="My form" create="false">
Thanks
Sandeep
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?
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 5/14/13, 6:38 AM |
Seen: 5810 times |
Last updated: 3/16/15, 8:10 AM |
in form view give <form string="text" create="false" edit="false">
it didn't work bro .. but i could prevent creation using Access Rule