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

Pass context on to relation create wizard.

By
Carlos Llamacho
on 12/27/13, 3:09 PM 926 views

Hi,

I created this model and setup its context so i can call values when overwritting the default_get method and works perfectly, but when i want to create a record from a different model using a many2one field to that first record the context appears as by default and the field doesn't get the default values i want.

How can i pass on the context when calling the create method from a related field on a different model?

Thanks in advance and have a happy new year all.

Hello Carlos, Have u found any solution to this issue? If yes please post it as i am facing similar problem(While setting context to related field it's value is false by default). Regards,

Pooja Zankhariya
on 3/26/14, 7:58 AM

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/27/13, 3:09 PM
Seen: 926 times
Last updated: 3/16/15, 8:10 AM