Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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
|Asked: 12/27/13, 3:09 PM|
|Seen: 1242 times|
|Last updated: 3/16/15, 8:10 AM|