Just override unlink method in your object where you want to make actions. here is the example of object account_invoice_line:
def unlink(self, cr, uid, ids, context=None): #your code which you want to execute before unlink and then super will call main unlink method. return super(account_invoice_line, self).unlink(cr, uid, ids, context=context) ------------------------ OpenERP=Easier, Adaptable, Affordable, Modular -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=51193#51193 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
