Odoo Help

1

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

By
Elmasry
on 5/14/13, 6:38 AM 5,810 views

The Question has been closed

by
Sudhir Arya (ERP Harbor Consulting Services)
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">

Maniganda
on 5/14/13, 7:39 AM

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

Elmasry
on 5/14/13, 10:06 AM
4

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
11456
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 

LinkedIn

Blog

Stackoverflow

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com 
Sudhir Arya (ERP Harbor Consulting Services)
On 5/14/13, 7:37 AM

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

7

ClueLogics Technologies Pvt. Ltd.

--ClueLogics Technologies Pvt. Ltd.--
6143
| 6 5 8
Delhi NCR, India
--ClueLogics Technologies Pvt. Ltd.--

 ClueLogics Technologies Pvt Ltd is a Software product and services provider. We are positioned to deliver robust, rapid and reliable Information Technology solutions that work. What we succeed upon is Technology and Technical Expertise. The industry review of ClueLogics has been commendable for the past years as most of its business comes from repeat orders by highly satisfied clients.

ClueLogics Technologies Pvt. Ltd.
On 6/8/13, 4:24 AM

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?

mmycool
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.

Register

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)

Stats

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