Odoo Help


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.


Setting default nested values in context

Fongoh Tayong
on 2/3/16, 5:04 AM 332 views


I know that if having a field named "info", to set the default value of that field i will have to add context like this

But now, i want to set the default parent category of a product on a particular view

such that when a user tries to create a product, there is a default parent category selected.

Just thinking, does this which does not work make sense? 


Sorry for poor code, still a bit new to odoo. 

Thanks your answer 

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)


Asked: 2/3/16, 5:04 AM
Seen: 332 times
Last updated: 2/3/16, 6:01 AM