mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fixes to currency number formatting - will pick first from currency master and also made explict options for number formatting
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"creation": "2013-01-27 16:31:07",
|
"creation": "2013-01-28 10:06:02",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-01-27 13:32:26",
|
"modified": "2013-01-28 10:37:18",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@@ -77,11 +77,12 @@
|
|||||||
"label": "Symbol"
|
"label": "Symbol"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "How should the number be formatted?\n#,###.## or #.###,## etc.",
|
"description": "How should this currency be formatted? If not set, will use system defaults",
|
||||||
"doctype": "DocField",
|
"doctype": "DocField",
|
||||||
"fieldname": "number_format",
|
"fieldname": "number_format",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Select",
|
||||||
"label": "Number Format"
|
"label": "Number Format",
|
||||||
|
"options": "\n#,###.##\n#.###,##\n# ###.##\n#,##,###.##\n#.###\n#,###"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cancel": 1,
|
"cancel": 1,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"creation": "2013-01-24 14:20:19",
|
"creation": "2013-01-28 10:06:02",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2013-01-25 11:51:16",
|
"modified": "2013-01-28 10:36:35",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@@ -27,8 +27,6 @@
|
|||||||
"permlevel": 0
|
"permlevel": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"amend": 0,
|
|
||||||
"cancel": 0,
|
|
||||||
"create": 1,
|
"create": 1,
|
||||||
"doctype": "DocPerm",
|
"doctype": "DocPerm",
|
||||||
"name": "__common__",
|
"name": "__common__",
|
||||||
@@ -108,7 +106,7 @@
|
|||||||
"fieldname": "number_format",
|
"fieldname": "number_format",
|
||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"label": "Number Format",
|
"label": "Number Format",
|
||||||
"options": "\n#,###.##\n#.###,##\n# ###.##\n#,##,###.##\n######"
|
"options": "\n#,###.##\n#.###,##\n# ###.##\n#,##,###.##\n#.###\n#,###"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Precision for Float fields (quantities, discounts, percentages etc) only for display. Floats will still be calculated up to 6 decimals.",
|
"description": "Precision for Float fields (quantities, discounts, percentages etc) only for display. Floats will still be calculated up to 6 decimals.",
|
||||||
|
|||||||
Reference in New Issue
Block a user