mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] timesheet_description: portal view position and semantics
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<template id="portal_my_task_markdown" inherit_id='project.portal_my_task' customize_show="True" name="Timesheet Use Markdown">
|
<template id="portal_my_task_markdown" inherit_id='project.portal_my_task' customize_show="True" name="Timesheet Use Markdown">
|
||||||
<xpath expr="//t[@t-esc='timesheet.name']" position="replace">
|
<xpath expr="//div[@t-field='timesheet.name']" position="attributes">
|
||||||
<div t-if="timesheet.name_markdown" t-field="timesheet.name_markdown" />
|
<attribute name="t-field">timesheet.name_markdown</attribute>
|
||||||
<t t-else="" t-esc="timesheet.name" />
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
</odoo>
|
</odoo>
|
||||||
Reference in New Issue
Block a user