@@ -173,6 +173,7 @@
|
||||
<field name="task"/>
|
||||
<field name="user_id"/>
|
||||
<field name="date"/>
|
||||
<field name="open_task"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div class="project_vignettes">
|
||||
@@ -195,7 +196,7 @@
|
||||
<h4 id="list" height="10px">
|
||||
<a>
|
||||
<t t-if="record.task.raw_value">
|
||||
<button name="open_tasks" class="oe_project_buttons" type="object"><field name="open_task"/> Tasks</button>
|
||||
<button name="open_tasks" class="oe_project_buttons" type="object"><t t-esc="record.open_task.value" t-if="record.open_task.value <= 1"> Task,</t><t t-esc="record.open_task.value" t-if="record.open_task.value > 1"> Tasks,</t></button>
|
||||
</t>
|
||||
</a>
|
||||
</h4>
|
||||
|
||||
@@ -392,7 +392,7 @@
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<a>
|
||||
<t t-if="record.issues.raw_value">
|
||||
<button name="open_issues" class="oe_project_buttons" type="object">, <field name="total_issues"/> Issues</button>
|
||||
<button name="open_issues" class="oe_project_buttons" type="object"><t t-esc="record.total_issues.value" t-if="record.total_issues.value <= 1"> Issue,</t><t t-esc="record.total_issues.value" t-if="record.total_issues.value > 1"> Issues,</t></button>
|
||||
</t>
|
||||
</a>
|
||||
</xpath>
|
||||
|
||||
@@ -118,11 +118,12 @@
|
||||
<field name="arch" type="xml">
|
||||
<field name="task" position="after">
|
||||
<field name="phases"/>
|
||||
<field name="open_phases"/>
|
||||
</field>
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<a>
|
||||
<t t-if="record.phases.raw_value">
|
||||
<button name="open_phase" class="oe_project_buttons" type="object">, <field name="open_phases"/> Phases</button>
|
||||
<button name="open_phase" class="oe_project_buttons" type="object"><t t-esc="record.open_phases.value" t-if="record.open_phases.value <= 1"> Phase,</t><t t-esc="record.open_phases.value" t-if="record.open_phases.value > 1"> Phases,</t></button>
|
||||
</t>
|
||||
</a>
|
||||
</xpath>
|
||||
|
||||
@@ -33,12 +33,13 @@
|
||||
<field name="arch" type="xml">
|
||||
<field name="task" position="after">
|
||||
<field name="timesheets"/>
|
||||
<field name="total_timesheet"/>
|
||||
<field name="currency_id"/>
|
||||
</field>
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<a>
|
||||
<t t-if="record.timesheets.raw_value">
|
||||
<button name="open_timesheets" class="oe_project_buttons" type="object">,<field name="total_timesheet"/> Timesheet</button>
|
||||
<button name="open_timesheets" class="oe_project_buttons" type="object"><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value <= 1"> Timesheet,</t><t t-esc="record.total_timesheet.value" t-if="record.total_timesheet.value > 1"> Timesheets,</t></button>
|
||||
</t>
|
||||
</a>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user