[IMP] improved view by css

bzr revid: tpa@tinyerp.com-20130806063416-8rrqtf3qb7j01sb2
This commit is contained in:
Turkesh Patel (Open ERP) 2013-08-06 12:04:16 +05:30
parent 7f6daa12f9
commit a24a72e3d3
2 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,7 @@
.openerp .oe_kanban_view .oe_kanban_crm_salesteams {
width: 345px;
cursor: default;
min-height: 240px !important;
}
.openerp .oe_kanban_view .oe_kanban_crm_salesteams .oe_avatars {
text-align: right;
@ -55,12 +56,18 @@
font-size: 10px;
}
.openerp .oe_kanban_view .oe_justgage {
.openerp .oe_kanban_view .oe_salesteams_justgage {
color: black;
display: inline-block;
bottom: 0;
}
.openerp .oe_kanban_view .oe_sparkline_bar {
height: 20px;
width: 36px !important;
}
}
.openerp .oe_kanban_view .oe_salesteams_help {
display: inline-block;
}

View File

@ -297,11 +297,11 @@
</div>
</xpath>
<xpath expr="//div[@class='oe_items_list']" position="after">
<div class="oe_center" t-if="record.invoiced_target.raw_value">
<div class="oe_center oe_salesteams_justgage" t-if="record.invoiced_target.raw_value">
<field name="monthly_invoiced" widget="gage" style="width:160px; height: 120px;" options="{'max_field': 'invoiced_target'}">Invoiced</field>
<field name="invoiced_forecast" widget="gage" style="width:160px; height: 120px; cursor: pointer;" options="{'max_field': 'invoiced_target', 'action_change': 'action_forecast'}">Forecast</field>
</div>
<div class="oe_center" style="color:#bbbbbb;" t-if="!record.invoiced_target.raw_value">
<div class="oe_center oe_salesteams_help" style="color:#bbbbbb;" t-if="!record.invoiced_target.raw_value">
<br/>Define an invoicing target in the sales team settings to see the period's achievement and forecast at a glance.
</div>
</xpath>