'Returns the qcontext : rendering context with website specific value (required
to render website layout template)'

@api.model
def _prepare_qcontext(self):

    company = request.website.company_id.sudo()
    editable = request.website.is_publisher()
    translatable = (editable and (self._context.get('lang') != request.website.default_lang_code))
    editable = ((not translatable) and editable)
    qcontext = dict(self._context.copy(), website=request.website, url_for=website.url_for, slug=website.slug, res_company=company, user_id=self.env['res.users'].browse(self.env.user.id), default_lang_code=request.website.default_lang_code, languages=request.website.get_languages(), translatable=translatable, editable=editable, menu_data=(self.env['ir.ui.menu'].load_menus_root() if request.website.is_user() else None))
    return qcontext
