diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index d035c79adcc..da9aadc9b43 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1743,8 +1743,9 @@ td { .pos .popup .comment.traceback { height: 264px; overflow: auto; - font-size: 14px; + font-size: 12px; text-align: left; + white-space: pre-wrap; font-family: 'Inconsolata'; -webkit-user-select: text; -moz-user-select: text; diff --git a/addons/point_of_sale/static/src/js/devices.js b/addons/point_of_sale/static/src/js/devices.js index 71dfb101b2c..5e813b9d73c 100644 --- a/addons/point_of_sale/static/src/js/devices.js +++ b/addons/point_of_sale/static/src/js/devices.js @@ -415,9 +415,9 @@ function openerp_pos_devices(instance,module){ //module is instance.point_of_sal send_printing_job(); },function(error){ if (error) { - self.pos.pos_widget.screen_selector.show_popup('error',{ - 'message': _t('PosBox Printing Error'), - 'comment': _t("The receipt could not be printed. The software installed on the posbox is probably out of date. Please refer to the software instructions in the posbox manual or contact the customer support"), + self.pos.pos_widget.screen_selector.show_popup('error-traceback',{ + 'message': _t('Printing Error: ') + error.data.message, + 'comment': error.data.debug, }); return; }