From da5cfb16305f68bdd6a1c04a3c8e087f99c1a858 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 23 Mar 2015 14:51:45 +0530 Subject: [PATCH] Exchange rate upto 9 decimals --- .../accounts/doctype/purchase_invoice/purchase_invoice.json | 4 +++- erpnext/accounts/doctype/sales_invoice/sales_invoice.json | 4 +++- erpnext/buying/doctype/purchase_order/purchase_order.json | 4 +++- .../buying/doctype/supplier_quotation/supplier_quotation.json | 4 +++- erpnext/selling/doctype/quotation/quotation.json | 4 +++- erpnext/selling/doctype/sales_order/sales_order.json | 4 +++- .../setup/doctype/currency_exchange/currency_exchange.json | 3 ++- erpnext/stock/doctype/delivery_note/delivery_note.json | 4 +++- erpnext/stock/doctype/purchase_receipt/purchase_receipt.json | 4 +++- 9 files changed, 26 insertions(+), 9 deletions(-) diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json index 820d830f973..6cb11693356 100755 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json @@ -195,6 +195,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0 }, @@ -227,6 +228,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0 }, @@ -963,7 +965,7 @@ "icon": "icon-file-text", "idx": 1, "is_submittable": 1, - "modified": "2015-03-03 02:46:30.118418", + "modified": "2015-03-23 14:47:57.373436", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice", diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index 9029c48a893..bb9f08f1f5c 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -217,6 +217,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1 @@ -257,6 +258,7 @@ "label": "Price List Exchange Rate", "no_copy": 0, "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1 @@ -1244,7 +1246,7 @@ "icon": "icon-file-text", "idx": 1, "is_submittable": 1, - "modified": "2015-03-05 01:42:46.778216", + "modified": "2015-03-23 14:46:49.412013", "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice", diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json index 8df47c82839..cd652fe077c 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.json +++ b/erpnext/buying/doctype/purchase_order/purchase_order.json @@ -174,6 +174,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "reqd": 1 }, @@ -204,6 +205,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1 }, { @@ -870,7 +872,7 @@ "icon": "icon-file-text", "idx": 1, "is_submittable": 1, - "modified": "2015-03-03 01:58:41.152545", + "modified": "2015-03-23 14:47:26.072237", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order", diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json index 0b983d984c0..b9b10670cf8 100644 --- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json +++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json @@ -160,6 +160,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "reqd": 1 }, @@ -194,6 +195,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1 }, { @@ -658,7 +660,7 @@ "icon": "icon-shopping-cart", "idx": 1, "is_submittable": 1, - "modified": "2015-02-24 16:03:33.709771", + "modified": "2015-03-23 14:47:07.225608", "modified_by": "Administrator", "module": "Buying", "name": "Supplier Quotation", diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index a3e66787154..118c1ac39d0 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -227,6 +227,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1, @@ -270,6 +271,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1 @@ -856,7 +858,7 @@ "idx": 1, "is_submittable": 1, "max_attachments": 1, - "modified": "2015-03-04 16:07:44.213726", + "modified": "2015-03-23 14:45:49.596355", "modified_by": "Administrator", "module": "Selling", "name": "Quotation", diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index 4450c190123..e6278244e35 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -246,6 +246,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "reqd": 1, "width": "100px" @@ -284,6 +285,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1, "reqd": 1 }, @@ -1077,7 +1079,7 @@ "idx": 1, "is_submittable": 1, "issingle": 0, - "modified": "2015-03-04 16:08:22.203274", + "modified": "2015-03-23 14:46:09.478285", "modified_by": "Administrator", "module": "Selling", "name": "Sales Order", diff --git a/erpnext/setup/doctype/currency_exchange/currency_exchange.json b/erpnext/setup/doctype/currency_exchange/currency_exchange.json index e4d399732ca..003b71a4ca8 100644 --- a/erpnext/setup/doctype/currency_exchange/currency_exchange.json +++ b/erpnext/setup/doctype/currency_exchange/currency_exchange.json @@ -30,12 +30,13 @@ "in_list_view": 1, "label": "Exchange Rate", "permlevel": 0, + "precision": "9", "reqd": 1 } ], "icon": "icon-exchange", "idx": 1, - "modified": "2015-02-05 05:11:36.356182", + "modified": "2015-03-23 14:45:09.645344", "modified_by": "Administrator", "module": "Setup", "name": "Currency Exchange", diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json index 2413a9393e0..a5befd79743 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.json +++ b/erpnext/stock/doctype/delivery_note/delivery_note.json @@ -233,6 +233,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1 @@ -271,6 +272,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1, "read_only": 0, "reqd": 1 @@ -1067,7 +1069,7 @@ "idx": 1, "in_create": 0, "is_submittable": 1, - "modified": "2015-03-04 16:08:45.464202", + "modified": "2015-03-23 14:46:25.491139", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note", diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json index 8aeb4ac701c..37ae413c540 100755 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json @@ -156,6 +156,7 @@ "oldfieldname": "conversion_rate", "oldfieldtype": "Currency", "permlevel": 0, + "precision": "9", "print_hide": 1, "reqd": 1 }, @@ -192,6 +193,7 @@ "fieldtype": "Float", "label": "Price List Exchange Rate", "permlevel": 0, + "precision": "9", "print_hide": 1 }, { @@ -850,7 +852,7 @@ "icon": "icon-truck", "idx": 1, "is_submittable": 1, - "modified": "2015-03-03 05:12:46.199024", + "modified": "2015-03-23 14:47:44.335392", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt",