fix: Create separate section for Bundle Items

This commit is contained in:
GangaManoj 2021-08-27 02:29:47 +05:30
parent 20cfe60e84
commit bdbd4f83ab
2 changed files with 20 additions and 2 deletions

View File

@ -61,6 +61,7 @@
"set_warehouse", "set_warehouse",
"items_section", "items_section",
"items", "items",
"bundle_items_section",
"packed_items", "packed_items",
"sb_last_purchase", "sb_last_purchase",
"total_qty", "total_qty",
@ -1144,13 +1145,21 @@
"fieldtype": "Table", "fieldtype": "Table",
"label": "Bundle Items", "label": "Bundle Items",
"options": "Packed Item" "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", "icon": "fa fa-file-text",
"idx": 105, "idx": 105,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2021-08-27 01:46:33.944417", "modified": "2021-08-27 02:18:07.342249",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Purchase Order", "name": "Purchase Order",

View File

@ -43,6 +43,7 @@
"ignore_pricing_rule", "ignore_pricing_rule",
"items_section", "items_section",
"items", "items",
"bundle_items_section",
"packed_items", "packed_items",
"pricing_rule_details", "pricing_rule_details",
"pricing_rules", "pricing_rules",
@ -933,6 +934,14 @@
"fieldtype": "Table", "fieldtype": "Table",
"label": "Bundle Items", "label": "Bundle Items",
"options": "Packed Item" "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", "icon": "fa fa-shopping-cart",
@ -940,7 +949,7 @@
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"max_attachments": 1, "max_attachments": 1,
"modified": "2021-08-27 01:09:54.587572", "modified": "2021-08-27 02:23:33.460607",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Selling", "module": "Selling",
"name": "Quotation", "name": "Quotation",