
Hi. I tried to find an answer for my question but because I did not found it, here is my problem:
I need to import 400 client records to tryton 4.0.3.
1. First of all I made a test export from a record that I already input manually:
Name,Phone,Mobile,E-Mail,Addresses/Street,Addresses/Zip,Addresses/City,VAT Code
Maxxx Mxxxx,,+351XXXXXXXXX,
mxx...@gmail.com,"Rua das Fxxxxxxxxx, 112",4XXX-XXX,Braga,PT111222333
2. Based on that export I created an import test csv file:
Name,Phone,Mobile,E-Mail,Addresses/Street,Addresses/Zip,Addresses/City,VAT Code
Teste Name,,+351123456789,
teste...@gmail.com,"Rua dos Anzois de Cima, 1234",4700-100,Braga,PT100334223
3. I tried the Auto-Detect button but the result was "error processing the file at field Phone".
I get this error with -l debug
"ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/wsgi.py", line 47, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 59, in rpc
request, database_name, *request.params)
File "/trytond/wsgi.py", line 39, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 40, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 201, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/model/modelstorage.py", line 744, in import_data
assert all(len(x) == len_fields_names for x in data)
AssertionErrorr"
The filed names are/should be different in export/import files?
Do I need to installtrytond-import_csv ( The import CSV module of the Tryton application platform)?
Thanks, in advance, for your help.
Kind regards,
Manuel Moura