[FIX] Categories are covered by the product icons when categories are more than one raw

bzr revid: ado@tinyerp.com-20120503135824-fhbl5986i3383ub4
This commit is contained in:
ado
2012-05-03 19:28:24 +05:30
2 changed files with 3 additions and 0 deletions
@@ -318,6 +318,8 @@
}
.point-of-sale #categories {
border-bottom: 1px solid #cecbcb;
max-height: 114px;
overflow: auto;
}
.point-of-sale #categories h4 {
display: inline-block;
@@ -791,6 +791,7 @@ openerp.point_of_sale = function(db) {
var CategoryWidget = db.web.OldWidget.extend({
start: function() {
this.$element.find(".oe-pos-categories-list a").click(_.bind(this.changeCategory, this));
$("#products-screen-ol").css("top",$("#products-screen-categories").height()+"px");
},
template_fct: qweb_template('pos-category-template'),
render_element: function() {