[FIX] project.task kanban broken since version upgrade of underscore.js

bzr revid: fme@openerp.com-20111115134031-793hgkpt5kinp1sx
This commit is contained in:
Fabien Meghazi 2011-11-15 14:40:31 +01:00
parent 1116d94a81
commit 5d4ac9feb3
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@
<field name="project_id"/>
<templates>
<t t-name="kanban-box">
<t t-set="pad_url">http://pad.openerp.com/<t t-raw="_.underscored(_.trim(record.name.raw_value))"/></t>
<t t-set="pad_url">http://pad.openerp.com/<t t-raw="_.str.underscored(_.str.trim(record.name.raw_value))"/></t>
<t t-if="record.kanban_state.raw_value === 'blocked'" t-set="border">oe_kanban_color_red</t>
<t t-if="record.kanban_state.raw_value === 'done'" t-set="border">oe_kanban_color_green</t>
<div t-attf-class="#{kanban_color(record.color.raw_value)} #{border || ''}">