diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 09fbe3818f2..8e16521a6a4 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -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; diff --git a/addons/point_of_sale/static/src/js/pos.js b/addons/point_of_sale/static/src/js/pos.js index 574af72eecd..cd1d9ef7169 100644 --- a/addons/point_of_sale/static/src/js/pos.js +++ b/addons/point_of_sale/static/src/js/pos.js @@ -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() {