El 22/06/15 a les 08:57, [email protected] ha escrit:

but i don't think it's the smartest way to delete the record and create a new 
one.
So again my question: Is the an opportunity to update the record?
Yes, you can using the write method:

http://doc.tryton.org/3.6/trytond/doc/ref/models/models.html?highlight=write#trytond.model.ModelStorage.write

Or you can also directly modify the records and save them

http://doc.tryton.org/3.6/trytond/doc/ref/models/models.html?highlight=save#trytond.model.ModelStorage.save


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Reply via email to