From ea2f1c620de89cc46f7c884ac72c590b85f221ed Mon Sep 17 00:00:00 2001 From: Deepak Dixit Date: Fri, 22 May 2026 16:45:20 +0530 Subject: [PATCH] Fix Arabic locale currency parsing in accounting reports (OFBIZ-10155) Avoid pre-formatting invoice and payment amounts with NumberFormat before passing them to currency renderers. Keep values as BigDecimal so the existing currency display logic performs the final locale-aware formatting. This prevents Arabic digits from being HTML-escaped into values such as ٢٠ and then failing BigDecimal parsing during report rendering. --- applications/accounting/widget/InvoiceForms.xml | 16 ++++------------ .../accounting/widget/PaymentScreens.xml | 4 +--- .../accounting/widget/ap/forms/InvoiceForms.xml | 8 ++------ .../accounting/widget/ar/forms/InvoiceForms.xml | 8 ++------ 4 files changed, 9 insertions(+), 27 deletions(-) diff --git a/applications/accounting/widget/InvoiceForms.xml b/applications/accounting/widget/InvoiceForms.xml index 60353935802..a668f10254f 100644 --- a/applications/accounting/widget/InvoiceForms.xml +++ b/applications/accounting/widget/InvoiceForms.xml @@ -750,12 +750,8 @@ under the License. - - + + @@ -783,12 +779,8 @@ under the License. - - + + diff --git a/applications/accounting/widget/PaymentScreens.xml b/applications/accounting/widget/PaymentScreens.xml index 944152e4f43..51d7b39da14 100644 --- a/applications/accounting/widget/PaymentScreens.xml +++ b/applications/accounting/widget/PaymentScreens.xml @@ -169,9 +169,7 @@ under the License. - + - - + + diff --git a/applications/accounting/widget/ar/forms/InvoiceForms.xml b/applications/accounting/widget/ar/forms/InvoiceForms.xml index dcb9fed1e51..09a25f993fc 100644 --- a/applications/accounting/widget/ar/forms/InvoiceForms.xml +++ b/applications/accounting/widget/ar/forms/InvoiceForms.xml @@ -34,12 +34,8 @@ under the License. - - + +