Odoo Help

Welcome!

This community 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.

2

Starting a wizard by clicking the "create" button in V7

By
Nicolas Clavier
on 2/18/13, 6:10 AM 3,642 views

Hi folks, I had asked the same question in V6, and it didn't seem possible to achieve it due to Openerp's architecture. (forum.openerp.com/forum/topic28562.html)

Now with latest improvements to V7, I was wondering could we override the default Create button in form/tree to load a wizard (i.e. return an action), instead of returning an id ?

thanks for your time, Nicolas

1
Max
On 2/25/13, 4:58 AM

As far as I know, there have been no changes in version 7 to make this kind of thing easier.

In the same way as the forum thread you posted, the way I would achieve this (without making significant changes to the OpenERP Web/Server source code) would be to have a single button in the form view for your object, and have that button's function return a wizard. See the below links:

Creating your wizard

Having a button return a wizard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/18/13, 6:10 AM
Seen: 3642 times
Last updated: 3/16/15, 8:10 AM