From bdbd4f83ab5ed2b228fd29c5018c9c7230c7d639 Mon Sep 17 00:00:00 2001 From: GangaManoj Date: Fri, 27 Aug 2021 02:29:47 +0530 Subject: [PATCH] fix: Create separate section for Bundle Items --- .../buying/doctype/purchase_order/purchase_order.json | 11 ++++++++++- erpnext/selling/doctype/quotation/quotation.json | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json index 873ab70999..e37d31a674 100644 --- a/erpnext/buying/doctype/purchase_order/purchase_order.json +++ b/erpnext/buying/doctype/purchase_order/purchase_order.json @@ -61,6 +61,7 @@ "set_warehouse", "items_section", "items", + "bundle_items_section", "packed_items", "sb_last_purchase", "total_qty", @@ -1144,13 +1145,21 @@ "fieldtype": "Table", "label": "Bundle Items", "options": "Packed Item" + }, + { + "collapsible": 1, + "collapsible_depends_on": "packed_items", + "fieldname": "bundle_items_section", + "fieldtype": "Section Break", + "label": "Bundle Items", + "options": "fa fa-suitcase" } ], "icon": "fa fa-file-text", "idx": 105, "is_submittable": 1, "links": [], - "modified": "2021-08-27 01:46:33.944417", + "modified": "2021-08-27 02:18:07.342249", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order", diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index 007fa33837..6bfb2c2a73 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -43,6 +43,7 @@ "ignore_pricing_rule", "items_section", "items", + "bundle_items_section", "packed_items", "pricing_rule_details", "pricing_rules", @@ -933,6 +934,14 @@ "fieldtype": "Table", "label": "Bundle Items", "options": "Packed Item" + }, + { + "collapsible": 1, + "collapsible_depends_on": "packed_items", + "fieldname": "bundle_items_section", + "fieldtype": "Section Break", + "label": "Bundle Items", + "options": "fa fa-suitcase" } ], "icon": "fa fa-shopping-cart", @@ -940,7 +949,7 @@ "is_submittable": 1, "links": [], "max_attachments": 1, - "modified": "2021-08-27 01:09:54.587572", + "modified": "2021-08-27 02:23:33.460607", "modified_by": "Administrator", "module": "Selling", "name": "Quotation",