[FIX] point_of_sale: translate the product information

The uom and products names were untranslated

X-original-commit: 9ecbbcf4d38d477acde602bd32031f6729af5cd1
Part-of: odoo/odoo#78259
This commit is contained in:
Martin Trigaux
2021-10-14 09:28:06 +00:00
parent aa85e610dd
commit 22856f1eb3
@@ -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'];