Sunday, December 25, 2022
1 change · master
Miscellaneous changes
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 a
Original PR description
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 Forward-Port-Of: odoo/odoo#108302