feat: Tab Break in Material Request

(cherry picked from commit 2172c5034a)
This commit is contained in:
Nabin Hait
2022-09-27 17:58:43 +05:30
committed by Mergify
parent 5a8329add1
commit 79151be8ce

View File

@@ -11,34 +11,40 @@
"naming_series", "naming_series",
"title", "title",
"material_request_type", "material_request_type",
"transfer_status",
"customer", "customer",
"status", "company",
"column_break_2", "column_break_2",
"transaction_date", "transaction_date",
"schedule_date", "schedule_date",
"company",
"amended_from", "amended_from",
"warehouse_section", "warehouse_section",
"scan_barcode",
"column_break_13",
"set_from_warehouse", "set_from_warehouse",
"column_break5", "column_break5",
"set_warehouse", "set_warehouse",
"items_section", "items_section",
"scan_barcode",
"items", "items",
"more_info", "terms_tab",
"per_ordered",
"column_break2",
"per_received",
"printing_details",
"letter_head",
"select_print_heading",
"terms_section_break", "terms_section_break",
"tc_name", "tc_name",
"terms", "terms",
"more_info_tab",
"status_section",
"status",
"per_ordered",
"column_break2",
"transfer_status",
"per_received",
"printing_details",
"letter_head",
"column_break_31",
"select_print_heading",
"reference", "reference",
"job_card", "job_card",
"work_order" "column_break_35",
"work_order",
"connections_tab"
], ],
"fields": [ "fields": [
{ {
@@ -147,14 +153,6 @@
"options": "Material Request Item", "options": "Material Request Item",
"reqd": 1 "reqd": 1
}, },
{
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{ {
"default": "Today", "default": "Today",
"fieldname": "transaction_date", "fieldname": "transaction_date",
@@ -239,7 +237,6 @@
"collapsible_depends_on": "terms", "collapsible_depends_on": "terms",
"fieldname": "terms_section_break", "fieldname": "terms_section_break",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break", "oldfieldtype": "Section Break",
"options": "fa fa-legal" "options": "fa fa-legal"
}, },
@@ -277,10 +274,10 @@
{ {
"fieldname": "warehouse_section", "fieldname": "warehouse_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Warehouse" "hide_border": 1,
"label": "Items"
}, },
{ {
"description": "Sets 'Target Warehouse' in each row of the Items table.",
"fieldname": "set_warehouse", "fieldname": "set_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1, "in_list_view": 1,
@@ -296,7 +293,6 @@
}, },
{ {
"depends_on": "eval:doc.material_request_type == 'Material Transfer'", "depends_on": "eval:doc.material_request_type == 'Material Transfer'",
"description": "Sets 'Source Warehouse' in each row of the Items table.",
"fieldname": "set_from_warehouse", "fieldname": "set_from_warehouse",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Set Source Warehouse", "label": "Set Source Warehouse",
@@ -317,13 +313,49 @@
"label": "Work Order", "label": "Work Order",
"options": "Work Order", "options": "Work Order",
"read_only": 1 "read_only": 1
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"collapsible": 1,
"fieldname": "status_section",
"fieldtype": "Section Break",
"label": "Status",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
{
"fieldname": "column_break_31",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_35",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_13",
"fieldtype": "Column Break"
} }
], ],
"icon": "fa fa-ticket", "icon": "fa fa-ticket",
"idx": 70, "idx": 70,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-08-25 11:49:28.155048", "modified": "2022-09-27 17:58:26.366469",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Material Request", "name": "Material Request",