From a09a8c3bf7bfb6c8e47f07f6508c386aadb41c8c Mon Sep 17 00:00:00 2001 From: Saif Date: Mon, 20 Aug 2018 17:25:18 +0500 Subject: [PATCH] Fixed missing DocType info for Purchase Items (#15152) * Made Purchase Invoice Items' Batch No and Serial No fields non copyable. * Added appropriate currency field options to Purchase...Items DocFields: -Landed Cost Voucher Amount -Billed Amt --- .../purchase_invoice_item/purchase_invoice_item.json | 8 ++++---- .../purchase_receipt_item/purchase_receipt_item.json | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) mode change 100755 => 100644 erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json mode change 100755 => 100644 erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json diff --git a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json old mode 100755 new mode 100644 index eb770247b1..4548c044cb --- a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json +++ b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json @@ -1374,7 +1374,7 @@ "in_standard_filter": 0, "label": "Batch No", "length": 0, - "no_copy": 0, + "no_copy": 1, "options": "Batch", "permlevel": 0, "precision": "", @@ -1437,7 +1437,7 @@ "in_standard_filter": 0, "label": "Serial No", "length": 0, - "no_copy": 0, + "no_copy": 1, "permlevel": 0, "precision": "", "print_hide": 0, @@ -2291,7 +2291,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2018-05-16 17:50:21.957780", + "modified": "2018-07-22 18:00:51.377605", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice Item", @@ -2305,4 +2305,4 @@ "sort_order": "DESC", "track_changes": 0, "track_seen": 0 -} \ No newline at end of file +} diff --git a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json old mode 100755 new mode 100644 index 9607fb964c..cfd80aac1a --- a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json +++ b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json @@ -2203,6 +2203,7 @@ "label": "Billed Amt", "length": 0, "no_copy": 1, + "options": "currency", "permlevel": 0, "precision": "", "print_hide": 1, @@ -2234,6 +2235,7 @@ "label": "Landed Cost Voucher Amount", "length": 0, "no_copy": 1, + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "print_hide_if_no_value": 0, @@ -2494,7 +2496,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2018-05-25 13:42:05.061386", + "modified": "2018-08-08 06:56:45.396664", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt Item", @@ -2508,4 +2510,4 @@ "sort_order": "DESC", "track_changes": 0, "track_seen": 0 -} \ No newline at end of file +}