Odoo Help


Fill many2one

on 7/25/14, 4:56 AM 934 views

I had a journal field(many2one) and my requirement is to display one of the journal item as default while opening the form itself.How can we do that..


Simple !

1) Create Journal records by XML file. ( This is optional)

2) Then in _defaults add a function to search journal by XML ID. 

3) If your journal finds in _default, then when you open form view, automatically that journal will populated in many2one field.

Let me know still you have confusion,




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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/25/14, 4:56 AM
Seen: 934 times
Last updated: 3/16/15, 8:10 AM