From 327ebf77ee6d9db4f8214118c6fb284ea540c654 Mon Sep 17 00:00:00 2001 From: momegahed Date: Mon, 19 Dec 2022 14:08:32 +0000 Subject: [PATCH] [FIX] l10n_gcc_invoice: product name is not shown in arabic Steps to reproduce: -install l10n_gcc_invoice module -switch to a company in Saudi Arabia (SA company) -create and print an invoice with a product that has arabic translation Bug: in 880954ebfc1106411b7f7a7d60aee05dfae60893 a change was introduced that causes the context on the fields to be overridden by the env context https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/models/ir_qweb_fields.py#L120 this causes the arabic name `t-field` in this case to lose its context along with the language information Fix: change it to `t-out` OPW-3077547 closes odoo/odoo#108366 X-original-commit: 0113d8539334f76d364771deceb882714ddc36bb Signed-off-by: Josse Colpaert Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) --- addons/l10n_gcc_invoice/views/report_invoice.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_gcc_invoice/views/report_invoice.xml b/addons/l10n_gcc_invoice/views/report_invoice.xml index af5f803f8f7..5bfcb98e9bd 100644 --- a/addons/l10n_gcc_invoice/views/report_invoice.xml +++ b/addons/l10n_gcc_invoice/views/report_invoice.xml @@ -283,7 +283,7 @@
-