Odoo Help

Welcome!

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.

0

One2Many relation - pass the parent id

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

Hi,

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.

thx,

Julien

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

0 follower(s)

Stats

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