[tryton] How to update rows by CSV import

2013-04-17 Thread Raimon Esteve
Easy question: how to update rows in Tryon using import CSV?

If I add ID field in CSV:
Error processing the file at field ID.

Is it available it? For example, update price products from ods (export to CSV)

import_data(fields_names, data) talks to create records, not update.

http://doc.tryton.org/2.6/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.import_data

note:
I try .id and not update ;)

--
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette


Re: [tryton] How to update rows by CSV import

2013-04-17 Thread Cédric Krier
On 17/04/13 09:23 +0200, Raimon Esteve wrote:
 Easy question: how to update rows in Tryon using import CSV?

It is not supported.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/


pgpXZea7abwcg.pgp
Description: PGP signature


Re: [tryton] How to update rows by CSV import

2013-04-17 Thread Raimon Esteve
 It is not supported.

Is it in roadmap to add it? Do you like if .id field update rows?

--
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette


Re: [tryton] How to update rows by CSV import

2013-04-17 Thread Raimon Esteve
 Personnaly, I have never use the import functionnality in real life and
 I will not recommend it.

Same us, but some customers use it. Another option is a custom wizard,
of course.

--
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette