Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
6287 Weergaven

I have created a model with a parent-child relation and i want to import a csv file, i tried with external id option but i have an error when i try to validate the csv file: No matching records found for external id '1' in the 'Cuentas' field between rows 2 and 2189

I dont know if is possible to import this kind of relation, the csv have several fields but the most important are:

Date, Name, cuentas/codigo, cuentas/external id, cuentas/parent_id/external id, cuentas/nombre
2016-01-12, Clasificador. 2016/01/12, 1, 1, , INGRESOS CORRIENTES
,,1.1, 11, 1, IMPUESTOS
,,1.1.01, 1101, 11, "Sobre la Renta, Utilidades y Ganancias de Capital"

As you can see there are 2 models with a relation master-detail and the relation parent-child is on the detail. How can i do to import sucessfully all relations on the models?.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 16
3977
1
mrt. 15
4970
0
mrt. 24
862
0
jan. 19
4771
1
nov. 22
2891