Odoo Help

0

Fill many2one

By
shafeequemonp
on 7/25/14, 4:56 AM 774 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..

0

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,

Regards,

 

 

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

Question tools

1 follower(s)

Stats

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