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

how to refresh the main form when 2nd active context layer of wizard

By
Abegail Sanchez
on 12/9/14, 2:08 AM 494 views

The flow:

 main>main_wizard1>wizard1_wizard2 ,after wizard2 button is clicked main form should be refreshed.

This is my main model:

hospital.billing

The wizard model:patient.request_kit

when the button clicked:

The wizard context:

 active_model: hospital.billing

active_id:hospital_billing_active_id

active_ids:[hospital_billing_active_id]

when patient_request_kit model button clicked :

wizard_model2:patient.validation.request_kit

active_model: patient.request_kit

active_id:patient.request_kit_active_id

active_ids:[patient.request_kit_active_id]

What I want to achieve is ,how to refresh the value of the main model in the 2nd wizard pop up.

Only the first wizard refreshes the form because  the 2nd wizard is referring to patient.request_kit model not the hospital.billing model

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: 12/9/14, 2:08 AM
Seen: 494 times
Last updated: 3/16/15, 8:10 AM