From 22856f1eb3349ad2afc3a7cfef9ed6ff698edcac Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Fri, 8 Oct 2021 06:08:37 +0000 Subject: [PATCH] [FIX] point_of_sale: translate the product information The uom and products names were untranslated X-original-commit: 9ecbbcf4d38d477acde602bd32031f6729af5cd1 Part-of: odoo/odoo#78259 --- addons/point_of_sale/static/src/js/Popups/ProductInfoPopup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/static/src/js/Popups/ProductInfoPopup.js b/addons/point_of_sale/static/src/js/Popups/ProductInfoPopup.js index 6896b112557..53def9e091d 100644 --- a/addons/point_of_sale/static/src/js/Popups/ProductInfoPopup.js +++ b/addons/point_of_sale/static/src/js/Popups/ProductInfoPopup.js @@ -29,7 +29,8 @@ odoo.define('point_of_sale.ProductInfoPopup', function(require) { args: [[this.props.product.id], this.props.product.get_price(order.pricelist, this.props.quantity), this.props.quantity, - this.env.pos.config_id] + this.env.pos.config_id], + kwargs: {context: this.env.session.user_context}, }); const priceWithoutTax = this.productInfo['all_prices']['price_without_tax'];