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.
This commit is contained in:
Phanupong Janthapoon 2023-05-14 09:36:58 +07:00 committed by GitHub
parent e6f092d257
commit 2b59a95162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@
"fieldname": "rate", "fieldname": "rate",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Rate", "label": "Rate",
"options": "Company:company:default_currency",
"reqd": 1 "reqd": 1
}, },
{ {
@ -147,6 +148,7 @@
"fieldname": "amount", "fieldname": "amount",
"fieldtype": "Currency", "fieldtype": "Currency",
"label": "Amount", "label": "Amount",
"options": "Company:company:default_currency",
"read_only": 1 "read_only": 1
}, },
{ {