[IMP] account : Converted the 'ir.sequence' object to new API.