Hi,
i would like to know how to override create method in the new odoo API. to replace this :
def create(self, cr, uid, vals, context=None):
new_id = super(CRM_Lead, self).create(cr, uid, vals, context=context)
lead = self.browse(cr, uid, new_id, context=context)
self._compute_stage_deadline(cr, uid, lead, context)
return new_id