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.

0

Open the form view into a Wizard

By
Abhishek
on 10/14/16, 5:24 AM 155 views

Hello Everyone,

I am new in ODOO. I have a requirement from my customer to open the form view in a wizard by clicking the create button(Red button). Please let me know whether it is possible to achieve?

0
Abhishek
On 10/14/16, 7:24 AM

Hi Chandni,

Thanks for your helpful answer. Basically I am dealing with Odoo-8. Moreover I want to open an existing form view in a wizard.

For example:

The purchase order form view is opened when we click on the "Create" button displayed at the top(in red colour) into a new page. Instead of opening into a new page I want to open it into a wizard(want to ignore the page redirection).

Please let me know whether it will be possible to do? I believe the "Create" button is the part of ORM and developers do not have the permission to change any part coming from ORM. Please let me know any other work around is there or not to achieve it?


Thanks


Hi,

Refer that create button, when u click on it, it will fire action. U can inherit tht action, and add target=New to that action. Instead of form view. You will be able to open your wizard.

Chandni
on 10/26/16, 6:59 AM
0
Chandni
On 10/14/16, 6:43 AM

Hi Abhishek,

If you are working with ODOO 9, go through this:

https://www.odoo.com/documentation/9.0/howtos/backend.html#wizards


You can also put target = new in your form view's action, in XML file.

Like this 

<act_window id="launch_the_wizard"

name="Launch the Wizard"

src_model="context.model.name"

res_model="wizard.model.name"

view_mode="form"

target="new"

key2="client_action_multi"/>


You can also refer this link:

https://www.odoo.com/forum/help-1/question/how-to-run-a-wizard-from-python-code-73074


Let me know if you have any issue in that.

Thanks,

Chandni

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

2 follower(s)

Stats

Asked: 10/14/16, 5:24 AM
Seen: 155 times
Last updated: 10/14/16, 7:24 AM