I define function 'write' as below in .py file:
@api.multi
def write(self, cr, uid, ids, vals, context=None):
raise Warning('his ds sf')
res = super(Checks, self).write(cr, uid, ids, vals, context=context) #res stores the result of the write function
return res
I hope when click 'edit' button, a raise box would pop out; but in fact nothing happen when I click the 'edit' button.
shall I get some advice for this?
write is triggered after clicking on SAVE.
so which function is triggered after clicking on EDIT?