odex30_standard/hr_base/report/hr_layout.xml

26 lines
677 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="hr_layout">
<!-- Multicompany -->
<t t-if="not o and doc">
<t t-set="o" t-value="doc"/>
</t>
<t t-if="o and 'company_id' in o">
<t t-set="company" t-value="o.company_id.sudo()"/>
</t>
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"/>
</t>
<t t-call="hr_base.hr_layout_template"><t t-raw="0"/></t>
</template>
<template id="hr_layout_template">
<div class="article o_report_layout_standard">
<t t-raw="0" />
</div>
</template>
</odoo>