[IMP] improved css, improved code to show help 5 sec late

bzr revid: tpa@tinyerp.com-20130802132933-srov3i87j2cmrwbq
This commit is contained in:
Turkesh Patel (Open ERP)
2013-08-02 18:59:33 +05:30
parent 841024adc2
commit 570bbff554
3 changed files with 23 additions and 5 deletions
+19
View File
@@ -73,3 +73,22 @@
.oe_stock_scan_image:hover {
opacity: 1
}
.openerp .oe_kanban_view .oe_kanban_stock_picking_type {
width: 345px;
cursor: default;
}
.openerp .oe_kanban_view .oe_sparkline_bar_link {
height: 20px;
width: 36px !important;
}
.openerp .oe_kanban_view .oe_sparkline_bar {
height: 20px;
width: 36px !important;
}
.oe_center_name {
text-align: center;
}
.openerp .oe_kanban_view .oe_stock_justgage {
color: black;
display: inline-block;
}
@@ -12,12 +12,12 @@ openerp.stock = function(openerp) {
self.$el.sparkline(value, {
type: type,
barWidth: 5,
tooltipFormat: '{{offset:offset}} {{value}}',
tooltipFormat: '{{offset:offset}}: {{value}} Move(s)',
tooltipValueLookups: {
'offset': tooltips
},
});
self.$el.tipsy({'delayIn': 0, 'html': true, 'title': function(){return title}, 'gravity': 'n'});
self.$el.tipsy({'delayIn': 3000, 'html': true, 'title': function(){return title}, 'gravity': 'n'});
}, 0);
},
});
+2 -3
View File
@@ -1244,8 +1244,7 @@
</ul>
</div>
<div class="oe_kanban_content">
<h4 class="oe_center"><field name="name"/></h4>
<h4 class="oe_center oe_center_name"><field name="name"/></h4>
<div class="oe_right">
<a name="%(action_stock_stock_ui)d" type="action">
<img src="/stock/static/src/img/scan.png"
@@ -1291,7 +1290,7 @@
</div>
<div class="oe_clear"> </div>
<div class="oe_center">
<div class="oe_center oe_stock_justgage">
<field name="rate_picking_late" widget="stock_gage" style="width:160px; height: 120px;">Late</field>
<field name="rate_picking_backorders" widget="stock_gage" style="width:160px; height: 120px;">Backorders</field>
</div>