Hi,
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.
Model A
code | name |
CODE1 | name_1 |
CODE2 | name_2 |
Model B
code_model_A | value |
CODE1 | value_1_name_1 |
CODE1 | value_2_name_1 |
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,
Sebastian