Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
6250 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 16
3946
1
bře 15
4907
0
bře 24
853
0
led 19
4763
1
lis 22
2828