[MIG] project_timebox: Migration to 16.0

This commit is contained in:
Boris Gallet
2023-11-08 15:03:06 +01:00
parent 792c3d602a
commit 16c1da3c42
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
{ {
"name": "project_timebox", "name": "project_timebox",
"version": "14.0.1.0.0", "version": "16.0.1.0.0",
"author": "Elabore", "author": "Elabore",
"website": "https://elabore.coop", "website": "https://elabore.coop",
"maintainer": "Stéphan Sainléger", "maintainer": "Stéphan Sainléger",

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<template id="portal_my_task_timebox" name="My Task: Timebox" inherit_id="project.portal_my_task" priority="40"> <template id="portal_my_task_timebox" name="My Task: Timebox" inherit_id="project.portal_my_task" priority="40">
<xpath expr="//t[@t-set='card_body']/div[hasclass('row','mb-4')]" position="before"> <xpath expr="//div[@t-if='task.date_deadline']" position="after">
<div id="timebox" class="row mb-2"> <div id="timebox" class="row mb-2">
<div class="col-12 col-md-6" t-if="task.timebox_min_id"> <div t-if="task.timebox_min_id">
<strong>Timebox Min:</strong> <strong>Timebox Min:</strong>
<span t-field="task.timebox_min_id" /> <span t-field="task.timebox_min_id" />
</div> </div>
<div class="col-12 col-md-6" t-if="task.timebox_max_id"> <div t-if="task.timebox_max_id">
<strong>Timebox Max:</strong> <strong>Timebox Max:</strong>
<span t-field="task.timebox_max_id" /> <span t-field="task.timebox_max_id" />
</div> </div>