I have 2 models, A and B, i want to import CSV records into model B.
Model B have to be linked to Model A by a code not with the internal database id.
I think it is simple but i am a little bit lost, what i have to use, external id?
For now i tried something with a one2many in model A and many2one in Model B, but it is not really a success...
Thanks for your help,
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
|Asked: 4/4/16, 1:12 AM|
|Seen: 185 times|
|Last updated: 4/4/16, 1:34 AM|