diff --git a/addons/point_of_sale/models/pos_config.py b/addons/point_of_sale/models/pos_config.py index 232948c4bef..8e3156c1bf6 100644 --- a/addons/point_of_sale/models/pos_config.py +++ b/addons/point_of_sale/models/pos_config.py @@ -272,7 +272,7 @@ class PosConfig(models.Model): def _onchange_use_pricelist(self): """ If the 'pricelist' box is unchecked, we reset the pricelist_id to stop - using a pricelist for this posbox. + using a pricelist for this iotbox. """ if not self.use_pricelist: self.pricelist_id = self._default_pricelist() diff --git a/addons/point_of_sale/static/src/js/chrome.js b/addons/point_of_sale/static/src/js/chrome.js index a1dbbfdbb46..df68208194e 100644 --- a/addons/point_of_sale/static/src/js/chrome.js +++ b/addons/point_of_sale/static/src/js/chrome.js @@ -437,9 +437,9 @@ var SaleDetailsButton = PosBaseWidget.extend({ }, }); -/* User interface for distant control over the Client display on the posbox */ -// The boolean posbox_supports_display (in devices.js) will allow interaction to the posbox on true, prevents it otherwise -// We don't want the incompatible posbox to be flooded with 404 errors on arrival of our many requests as it triggers losses of connections altogether +/* User interface for distant control over the Client display on the IoT Box */ +// The boolean posbox_supports_display (in devices.js) will allow interaction to the IoT Box on true, prevents it otherwise +// We don't want the incompatible IoT Box to be flooded with 404 errors on arrival of our many requests as it triggers losses of connections altogether var ClientScreenWidget = PosBaseWidget.extend({ template: 'ClientScreenWidget', @@ -460,7 +460,7 @@ var ClientScreenWidget = PosBaseWidget.extend({ this.$('.js_disconnected').removeClass('oe_hidden'); msg = _t('Disconnected') if (status === 'not_found') { - msg = _t('Client Screen Unsupported. Please upgrade the PosBox') + msg = _t('Client Screen Unsupported. Please upgrade the IoT Box') } } @@ -921,4 +921,3 @@ return { UsernameWidget: UsernameWidget, }; }); - diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index 6163e150c58..acda4a77e7a 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -118,7 +118,7 @@ exports.PosModel = Backbone.Model.extend({ var self = this; var done = new $.Deferred(); this.barcode_reader.disconnect_from_proxy(); - this.chrome.loading_message(_t('Connecting to the PosBox'),0); + this.chrome.loading_message(_t('Connecting to the IoT Box'),0); this.chrome.loading_skip(function(){ self.proxy.stop_searching(); }); @@ -762,9 +762,9 @@ exports.PosModel = Backbone.Model.extend({ var order = this.get_order(); var rendered_html = this.config.customer_facing_display_html; - // If we're using an external device like the POSBox, we + // If we're using an external device like the IoT Box, we // cannot get /web/image?model=product.product because the - // POSBox is not logged in and thus doesn't have the access + // IoT Box is not logged in and thus doesn't have the access // rights to access product.product. So instead we'll base64 // encode it and embed it in the HTML. var get_image_deferreds = []; diff --git a/addons/point_of_sale/static/src/xml/pos.xml b/addons/point_of_sale/static/src/xml/pos.xml index da08e37304b..fcfc7981155 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -1658,7 +1658,7 @@