[IMP] More precision for kanban column width

bzr revid: fme@openerp.com-20130822101952-qhliw0umneujz4cf
This commit is contained in:
Fabien Meghazi
2013-08-22 12:19:52 +02:00
parent 4b67f75722
commit 53fa372f6a
+1 -1
View File
@@ -503,7 +503,7 @@
<table class="table js_kanban">
<thead>
<tr>
<t t-set="width" t-value="'%s%%%%' % (100/len(objects))"/>
<t t-set="width" t-value="str(round(100.0 / len(objects), 2)) + '%'"/>
<t t-foreach="objects">
<th t-att-width="width">
<div t-field="column_id.name" class="text-center"/>