I need to override dispatch_rpc function in server/openerp/netsvc.py to add code that sends error log by email. I have a function that do it and works, but I want to be able to apply this modification in future by applying a module with this. Thanks :)
PD. dispatch_rpc function is not part of any class, how can I inherit it?