<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="project_sharing_portal" name="Project Sharing View Embed">
        <t t-set="head_project_sharing">
            <script type="text/javascript">
                odoo.__session_info__ = <t t-out="json.dumps(session_info)"/>;
                // Prevent the menu_service to load anything. In an ideal world, Project Sharing assets would only contain
                // what is genuinely necessary, and not the whole backend.
                odoo.loadMenusPromise = Promise.resolve();
            </script>
            <base target="_parent"/>
            <t t-call-assets="project.webclient"/>
            <t t-call="web.conditional_assets_tests" ignore_missing_deps="True"/>
        </t>
        <t t-set="head">
            <t t-out="head_project_sharing"/>
            <t t-out="head"/>
        </t>
        <t t-call="web.layout"
            head_project_sharing="head_project_sharing"
            head="head"
            body_classname.f="o_web_client o_project_sharing"/>
    </template>
</odoo>
