2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/schemas/core/SystemSettings.json

115 lines
2.7 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "SystemSettings",
"label": "System Settings",
"isSingle": true,
"isChild": false,
"fields": [
{
"fieldname": "dateFormat",
"label": "Date Format",
"fieldtype": "AutoComplete",
2022-03-23 07:31:15 +00:00
"options": [
{
"label": "23/03/2022",
"value": "dd/MM/yyyy"
},
{
"label": "03/23/2022",
"value": "MM/dd/yyyy"
},
{
"label": "23-03-2022",
"value": "dd-MM-yyyy"
},
{
"label": "03-23-2022",
"value": "MM-dd-yyyy"
},
{
"label": "2022-03-23",
"value": "yyyy-MM-dd"
},
{
"label": "23 Mar, 2022",
"value": "d MMM, y"
},
{
"label": "Mar 23, 2022",
"value": "MMM d, y"
}
],
"default": "MMM d, y",
"required": true,
"allowCustom": true,
2022-03-23 07:31:15 +00:00
"description": "Sets the app-wide date display format."
},
{
"fieldname": "locale",
"label": "Locale",
"fieldtype": "AutoComplete",
2022-03-23 07:31:15 +00:00
"default": "en-IN",
"required": true,
2022-03-23 07:31:15 +00:00
"description": "Set the local code. This is used for number formatting."
},
{
"fieldname": "displayPrecision",
"label": "Display Precision",
"fieldtype": "Int",
"default": 2,
"required": true,
2022-05-16 07:49:01 +00:00
"minvalue": 0,
"maxvalue": 9,
2022-03-23 07:31:15 +00:00
"description": "Sets how many digits are shown after the decimal point."
},
{
"fieldname": "internalPrecision",
"label": "Internal Precision",
"fieldtype": "Int",
2022-05-16 07:49:01 +00:00
"minvalue": 0,
2022-03-23 07:31:15 +00:00
"default": 11,
"description": "Sets the internal precision used for monetary calculations. Above 6 should be sufficient for most currencies."
},
{
"fieldname": "hideGetStarted",
"label": "Hide Get Started",
"fieldtype": "Check",
2022-03-23 14:46:19 +00:00
"default": false,
2022-03-23 07:31:15 +00:00
"description": "Hides the Get Started section from the sidebar. Change will be visible on restart or refreshing the app."
},
{
"fieldname": "countryCode",
"label": "Country Code",
"fieldtype": "Data",
2022-04-25 06:33:31 +00:00
"default": "in",
"description": "Country code used to initialize regional settings."
},
{
"fieldname": "currency",
"label": "Currency",
"fieldtype": "AutoComplete",
2022-05-10 09:26:17 +00:00
"default": "INR",
"readOnly": true,
"required": true
2022-05-06 07:00:32 +00:00
},
{
"fieldname": "version",
"label": "Version",
"fieldtype": "Data",
"readOnly": true
},
{
"fieldname": "instanceId",
"label": "Instance Id",
"fieldtype": "Data",
"readOnly": true
2022-03-23 07:31:15 +00:00
}
],
2022-05-06 07:00:32 +00:00
"quickEditFields": [
"locale",
"dateFormat",
"currency",
"displayPrecision",
"hideGetStarted"
]
2022-03-23 08:37:00 +00:00
}