Odoo Help


One2Many relation - pass the parent id

julien rey
on 3/26/14, 12:01 PM 1,894 views


I have added a field one2Many on sale.order. On the sale.order form view, I display the one2many field. I saw a table and i see a button create. Until there everything is gr8. However, when i click on create, a form is openned but i'd like to pre-filled the field where is store the reference to the sale.order, because currently he is empty, and i have to filled it with the value of the order behind.

For example, i open the sale order SO001, i clik on create for my one2many, the new form is openned but the field order is empty, i have to select again SO001.



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

0 follower(s)


Asked: 3/26/14, 12:01 PM
Seen: 1894 times
Last updated: 3/16/15, 8:10 AM