> > I tried to access the old registration table for storing the entered > data in the new registration form(field charity). Error throws such > as"InternalError: cannot execute INSERT in a read-only transaction" > > how to resolve this problem? > > > *def on_change_charity(self):* >
See http://doc.tryton.org/3.0/trytond/doc/ref/models/fields.html#trytond.model.fields.Field.on_change on_change(_with) methods are executed in a rollbacked transaction. Jean Cavallo *Coopengo*
