'Clear the caches
This clears the caches associated to methods decorated with
``tools.ormcache`` or ``tools.ormcache_multi``.'

@classmethod
def clear_caches(cls):

    try:
        cls.pool.cache.clear()
        cls.pool.cache_cleared = True
    except AttributeError:
        pass
