I want to execute the content inside the function when i click the save in 
the tryton framework...
please tell how to define the function????

On Tuesday, February 18, 2014 2:49:01 PM UTC+5:30, Giovanni wrote:
>
>      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*
>

Reply via email to