[IMP] Add Underline Link on phase

bzr revid: fka@tinyerp.com-20121031092254-gnksoid6z7lwr1d8
This commit is contained in:
Foram Katharotiya (OpenERP) 2012-10-31 14:52:54 +05:30
parent c53a367849
commit 6d6263f53f
1 changed files with 4 additions and 1 deletions

View File

@ -120,7 +120,10 @@
</field>
<xpath expr="//div[contains(@class, 'oe_kanban_project_list')]" position="inside">
<a t-if="record.use_phases.raw_value"
name="%(act_project_phases)d" type="action">Phases(<field name="phase_count"/>)</a>
name="%(act_project_phases)d" type="action">
<span t-if="record.phase_count.raw_value gt 1">Phases(<field name="phase_count"/>)</span>
<span t-if="record.phase_count.raw_value lt 2">Phase(<field name="phase_count"/>)</span>
</a>
</xpath>
</field>
</record>