Debian Codegraph @

addons/project/views/project_sharing_project_task_templates.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <template id="project_sharing_portal" name="Project Sharing View Embed">
4 <t t-call="web.layout">
5 <t t-set="head_project_sharing">
6 <script type="text/javascript">
7 odoo.__session_info__ = <t t-out="json.dumps(session_info)"/>;
8 // Prevent the menu_service to load anything. In an ideal world, Project Sharing assets would only contain
9 // what is genuinely necessary, and not the whole backend.
10 odoo.loadMenusPromise = Promise.resolve();
11 </script>
12 <base target="_parent"/>
13 <t t-call-assets="project.webclient"/>
14 <t t-call="web.conditional_assets_tests">
15 <t t-set="ignore_missing_deps" t-value="True"/>
16 </t>
17 </t>
18 <t t-set="head" t-value="head_project_sharing + (head or '')"/>
19 <t t-set="body_classname" t-value="'o_web_client o_project_sharing'"/>
20 </t>
21 </template>
22 </odoo>