From 2b59a95162c89743794ea6a0bcf719ee85e4504c Mon Sep 17 00:00:00 2001 From: Phanupong Janthapoon Date: Sun, 14 May 2023 09:36:58 +0700 Subject: [PATCH] fix: share_transfer display wrong currency symbo In multi-companies setting, on amount and rate field of Share Transfer doctype are displaying wrong currency symbol, when create a Share Transfer of others company that has different currency than the main company. This due to the lack of `options` on those fields. To fix this, add `options` to `amount` and `rate` fields. --- erpnext/accounts/doctype/share_transfer/share_transfer.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/doctype/share_transfer/share_transfer.json b/erpnext/accounts/doctype/share_transfer/share_transfer.json index 59a305317d..51f2ac19bc 100644 --- a/erpnext/accounts/doctype/share_transfer/share_transfer.json +++ b/erpnext/accounts/doctype/share_transfer/share_transfer.json @@ -124,6 +124,7 @@ "fieldname": "rate", "fieldtype": "Currency", "label": "Rate", + "options": "Company:company:default_currency", "reqd": 1 }, { @@ -147,6 +148,7 @@ "fieldname": "amount", "fieldtype": "Currency", "label": "Amount", + "options": "Company:company:default_currency", "read_only": 1 }, {