bzr revid: apa@tinyerp.com-20120329044450-oirg4eoj0itpjb41
This commit is contained in:
Amit Patel (OpenERP) 2012-03-29 10:14:50 +05:30
parent 1ac567d6b0
commit 6ee64ce686
2 changed files with 17 additions and 16 deletions

View File

@ -116,18 +116,19 @@
<field name="type">kanban</field>
<field name="inherit_id" ref="project.view_project_kanban"/>
<field name="arch" type="xml">
<field name="task" position="after">
<field name="phases"/>
</field><!--
<t t-name="phase_details">
<ul class="oe_kanban_tooltip">
<li><b>Phases</b></li>
</ul>
</t>
-->
<field name="task" position="after">
<field name="phases"/>
</field>
<xpath expr="//t[@t-name='tasks']" position="after">
<t t-name="phases">
<ul class="oe_kanban_tooltip">
<li><b>Phases</b></li>
</ul>
</t>
</xpath>
<xpath expr="//td[@class='buttons']" position="inside">
<t t-if="record.phases.raw_value">
<button name="open_phase" class="oe_project_buttons" type="object" tooltip="phase_details"><img src="/project_long_term/static/src/img/phases_icon.jpg" class="project_icon"/></button>
<button name="open_phase" class="oe_project_buttons" type="object" tooltip="phases"><img src="/project_long_term/static/src/img/phases_icon.jpg" class="project_icon"/></button>
</t>
</xpath>
</field>

View File

@ -32,16 +32,16 @@
<field name="task" position="after">
<field name="timesheets"/>
</field>
<!--
<t t-name="timesheet_details">
<xpath expr="//t[@t-name='tasks']" position="after">
<t t-name="timesheets">
<ul class="oe_kanban_tooltip">
<li><b>Timesheet</b></li>
<li><b>Timesheets</b></li>
</ul>
</t>
-->
</t>
</xpath>
<xpath expr="//td[@class='buttons']" position="inside">
<t t-if="record.timesheets.raw_value">
<button name="open_timesheets" class="oe_project_buttons" type="object" tooltip="timesheet_details"><img src="/project_timesheet/static/src/img/timesheet_icon.png" class="project_icon"/></button>
<button name="open_timesheets" class="oe_project_buttons" type="object" tooltip="timesheets"><img src="/project_timesheet/static/src/img/timesheet_icon.png" class="project_icon"/></button>
</t>
</xpath>
</field>