From new version Odoo 8.0 onwards we are using new API in python coding. But most of the people are unaware of its exact usage