refactor: convert Hide Currency Symbol in Global Defaults to a Check field (#57135)

This commit is contained in:
Mihir Kandoi
2026-07-14 16:40:07 +05:30
committed by GitHub
parent 876adcb535
commit d7f4524cdd
4 changed files with 16 additions and 6 deletions

View File

@@ -55,12 +55,12 @@
"reqd": 1
},
{
"default": "0",
"description": "Do not show any symbol like $ etc next to currencies.",
"fieldname": "hide_currency_symbol",
"fieldtype": "Select",
"fieldtype": "Check",
"in_list_view": 1,
"label": "Hide Currency Symbol",
"options": "\nNo\nYes"
"label": "Hide Currency Symbol"
},
{
"default": "0",
@@ -121,7 +121,7 @@
"in_create": 1,
"issingle": 1,
"links": [],
"modified": "2026-07-14 15:18:25.829886",
"modified": "2026-07-14 18:30:00.000000",
"modified_by": "Administrator",
"module": "Setup",
"name": "Global Defaults",

View File

@@ -53,7 +53,7 @@ class GlobalDefaults(Document):
disable_in_words: DF.Check
disable_rounded_total: DF.Check
enable_company_wise_masters: DF.Check
hide_currency_symbol: DF.Literal["", "No", "Yes"]
hide_currency_symbol: DF.Check
use_posting_datetime_for_naming_documents: DF.Check
# end: auto-generated types