From bc79084dac7643362047353deb0c956504cbdc7b Mon Sep 17 00:00:00 2001 From: GangaManoj Date: Wed, 1 Sep 2021 16:06:47 +0530 Subject: [PATCH] fix: Add Product Bundle field in Items table --- .../purchase_invoice_item/purchase_invoice_item.json | 10 +++++++++- .../purchase_receipt_item/purchase_receipt_item.json | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json index a7618e2c74..d39a9fc058 100644 --- a/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json +++ b/erpnext/accounts/doctype/purchase_invoice_item/purchase_invoice_item.json @@ -8,6 +8,7 @@ "engine": "InnoDB", "field_order": [ "item_code", + "product_bundle", "col_break1", "item_name", "description_section", @@ -857,12 +858,19 @@ "fieldtype": "Link", "label": "Discount Account", "options": "Account" + }, + { + "fieldname": "product_bundle", + "fieldtype": "Link", + "label": "Product Bundle", + "options": "Product Bundle", + "read_only": 1 } ], "idx": 1, "istable": 1, "links": [], - "modified": "2021-08-12 20:14:48.506639", + "modified": "2021-09-01 16:04:03.538643", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice Item", diff --git a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json index 82cc98e7f7..3efa66e02e 100644 --- a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json +++ b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json @@ -10,6 +10,7 @@ "barcode", "section_break_2", "item_code", + "product_bundle", "supplier_part_no", "column_break_2", "item_name", @@ -956,12 +957,19 @@ "no_copy": 1, "print_hide": 1, "read_only": 1 + }, + { + "fieldname": "product_bundle", + "fieldtype": "Link", + "label": "Product Bundle", + "options": "Product Bundle", + "read_only": 1 } ], "idx": 1, "istable": 1, "links": [], - "modified": "2021-03-29 04:17:00.336298", + "modified": "2021-09-01 16:02:40.338597", "modified_by": "Administrator", "module": "Stock", "name": "Purchase Receipt Item",