[IMP] better display and group_by

bzr revid: mat@openerp.com-20130307111614-zfbem9daqxmi0vdx
This commit is contained in:
Martin Trigaux 2013-03-07 12:16:14 +01:00
parent e03393fcc5
commit d53a53d315
3 changed files with 8 additions and 2 deletions

View File

@ -146,7 +146,7 @@
</t>
<div class="oe_kanban_project_list">
<p>
<t t-esc="Math.round(record.current.raw_value)"/>/<t t-esc="Math.round(record.target_goal.raw_value)"/>
<big><t t-esc="Math.round(record.current.raw_value)"/>/<t t-esc="Math.round(record.target_goal.raw_value)"/></big>
<t t-if="record.type_unit.value"><field name="type_unit"/></t>
&#10216;<t t-esc="Math.round(record.completeness.raw_value)"/>%%&#10217;
<br/>

View File

@ -63,7 +63,7 @@
<!-- action buttons -->
<div class="oe_right oe_button_box">
<button name="action_show_related_goals" type="object" string="Related Goals" help="show all the generated goals for this plan"/>
<button name="action_show_related_goals" type="object" string="Related Goals" help="show all the generated goals for this plan" context="{'group_by':'user_id'}"/>
</div>
<group>

View File

@ -8,3 +8,9 @@
background-color: #ffc7c7;
color: #7a3737;
}
.openerp .oe_kanban_view .oe_kanban_card.oe_kanban_color_draft,
.openerp .oe_kanban_view .oe_kanban_card.oe_kanban_color_canceled {
background-color: #E6E6E6;
color: #585858;
font-size: 0.9em;
}