Initial commit of timesheet_description and timesheet_description_sale for 11.0 -- Forces popup for timesheet (detail) and allows you to display them as Markdown in the portal.

This commit is contained in:
Jared Kipe
2018-05-23 11:47:37 -07:00
committed by Leo Pinedo
parent 5ee6246254
commit e36bdcae58
6 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +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="//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>