From c35b35abca2b3c45fdc9c6f3510de5c417e07078 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 20 Oct 2015 10:56:53 +0530 Subject: [PATCH] [fix] Set higher precision for exchange rate field --- erpnext/accounts/doctype/gl_entry/gl_entry.json | 8 +++++--- .../journal_entry_account/journal_entry_account.json | 10 ++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/erpnext/accounts/doctype/gl_entry/gl_entry.json b/erpnext/accounts/doctype/gl_entry/gl_entry.json index 936d3465eb1..5f07df976f6 100644 --- a/erpnext/accounts/doctype/gl_entry/gl_entry.json +++ b/erpnext/accounts/doctype/gl_entry/gl_entry.json @@ -162,6 +162,7 @@ "oldfieldtype": "Currency", "options": "Company:company:default_currency", "permlevel": 0, + "precision": "", "print_hide": 0, "read_only": 0, "report_hide": 0, @@ -186,6 +187,7 @@ "oldfieldtype": "Currency", "options": "Company:company:default_currency", "permlevel": 0, + "precision": "", "print_hide": 0, "read_only": 0, "report_hide": 0, @@ -415,7 +417,7 @@ "ignore_user_permissions": 0, "in_filter": 1, "in_list_view": 0, - "label": "Is Opening", + "label": "Is Opening", "no_copy": 0, "oldfieldname": "is_opening", "oldfieldtype": "Select", @@ -439,7 +441,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Is Advance", + "label": "Is Advance", "no_copy": 0, "oldfieldname": "is_advance", "oldfieldtype": "Select", @@ -511,7 +513,7 @@ "is_submittable": 0, "issingle": 0, "istable": 0, - "modified": "2015-10-02 07:38:51.117114", + "modified": "2015-10-20 12:10:59.771050", "modified_by": "Administrator", "module": "Accounts", "name": "GL Entry", diff --git a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json index ebd48429f15..f2c1575464e 100644 --- a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json +++ b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json @@ -276,7 +276,7 @@ "label": "Exchange Rate", "no_copy": 0, "permlevel": 0, - "precision": "", + "precision": "6", "print_hide": 1, "read_only": 0, "report_hide": 0, @@ -345,6 +345,7 @@ "oldfieldtype": "Currency", "options": "Company:company:default_currency", "permlevel": 0, + "precision": "", "print_hide": 1, "read_only": 1, "report_hide": 0, @@ -412,6 +413,7 @@ "oldfieldtype": "Currency", "options": "Company:company:default_currency", "permlevel": 0, + "precision": "", "print_hide": 1, "read_only": 1, "report_hide": 0, @@ -451,7 +453,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Reference Type", + "label": "Reference Type", "no_copy": 0, "options": "\nSales Invoice\nPurchase Invoice\nJournal Entry\nSales Order\nPurchase Order\nExpense Claim", "permlevel": 0, @@ -517,7 +519,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Is Advance", + "label": "Is Advance", "no_copy": 1, "oldfieldname": "is_advance", "oldfieldtype": "Select", @@ -563,7 +565,7 @@ "is_submittable": 0, "issingle": 0, "istable": 1, - "modified": "2015-10-02 07:38:54.406370", + "modified": "2015-10-20 12:10:22.203395", "modified_by": "Administrator", "module": "Accounts", "name": "Journal Entry Account",