title: Something like django signals in Odoo
body: <p>Am looking for some mechanism that allows me to hook a python function to the triggering of a database event (insert, update, delete) of ANY model in Odoo. 
  I have worked with Django signals and am wondering if Odoo has something like that.
  Thanks in advance.</p>
  
  <hr>
  
  <h2>EDITED</h2>
  
  <p>What i want to do is to execute a python code when a database event occurs. In django it would be</p>
  
  <pre><code>from django.db.models.signals import post_save
  from django.dispatch import receiver
  
  @receiver(post_save)
  def post_save_receiver(sender, instance, created, **kwargs):
      #do something with parameters info
  </code></pre>
  
  <p>The post_save will be triggered by an update or an insert in ANY model, being 'sender' the model class and 'instance' the database row and therefore an instance of 'sender'. </p>
  
  <p>Am looking in Odoo some mechanism that allows me to do something like that, I have seen something called Workflow, but it does not let me "listen" for ALL models.</p>