Files
odoo_source/addons/l10n_gcc_invoice
momegahed 327ebf77ee [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 880954ebfc

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 <jco@odoo.com>
Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) <mome@odoo.com>
2022-12-25 09:47:52 +01:00
..