protected function getParser($module)
    {
        $parser = \ParserFactory::getParser('recordview', $module);
        if (empty($parser->_viewdefs['panels'])) {
            throw new SugarException("Can't work with the view, try to redeploy it with the Studio");
        }


        return $parser;
    }