Merge branch 'fix/13.0/timesheet_description__portal_view' into '13.0'

fix/13.0/timesheet_description__portal_view into 13.0

See merge request hibou-io/hibou-odoo/suite!472
This commit is contained in:
Jared Kipe
2020-09-29 22:39:12 +00:00

View File

@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<template id="portal_my_task_markdown" inherit_id='project.portal_my_task' customize_show="True" name="Timesheet Use Markdown">
<xpath expr="//div[@t-field='timesheet.name']" position="attributes">
<attribute name="t-field">timesheet.name_markdown</attribute>
<template id="portal_my_task_markdown" inherit_id='hr_timesheet.portal_timesheet_table' customize_show="True" name="Timesheet Use Markdown">
<xpath expr="//t[@t-esc='timesheet.name']" position="replace">
<div t-if="timesheet.name_markdown" t-field="timesheet.name_markdown" />
<t t-else="" t-esc="timesheet.name" />
</xpath>
</template>
</odoo>