Odoo Help

0

Link a view to the top "create" button in order to add an entry

By
Val Kinyock
on 5/27/15, 5:39 AM 558 views


I would like to know if it is possible to link a view with the top "Create button" of a custom module given that this button isn't a part of any view.

Now when I click on this button Odoo opens a new row that I have to fill but I would like to open a view (or a wizard) in order to add this new entry.

I have been told that this process is done in JS ?

The form when we click on "Create" from the quotation page would be perfect but I can't find how it is done.

1

Temur

--Temur--
2912
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 5/27/15, 5:53 AM

I guess you're about a page where you've list view by default, right? if so, then you've to edit properties of a "tree" tag in XML of your listview. there should be one of editable="top" or editable="bottom" property. remove that property and update module. 

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

1 follower(s)

Stats

Asked: 5/27/15, 5:39 AM
Seen: 558 times
Last updated: 5/27/15, 6:02 AM