refactor: Subcontracting Receipt Item form view
diff --git a/erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json b/erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
index fc09422..b6f1155 100644
--- a/erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
+++ b/erpnext/subcontracting/doctype/subcontracting_receipt_item/subcontracting_receipt_item.json
@@ -25,8 +25,6 @@
"col_break2",
"stock_uom",
"conversion_factor",
- "tracking_section",
- "col_break_tracking_section",
"rate_and_amount",
"rate",
"amount",
@@ -38,15 +36,15 @@
"rm_supp_cost",
"warehouse_and_reference",
"warehouse",
- "rejected_warehouse",
"subcontracting_order",
- "column_break_40",
- "schedule_date",
- "quality_inspection",
"subcontracting_order_item",
"subcontracting_receipt_item",
- "section_break_45",
+ "column_break_40",
+ "rejected_warehouse",
"bom",
+ "quality_inspection",
+ "schedule_date",
+ "section_break_45",
"serial_and_batch_bundle",
"serial_no",
"col_break5",
@@ -86,12 +84,13 @@
"fieldtype": "Column Break"
},
{
+ "fetch_from": "item_code.item_name",
+ "fetch_if_empty": 1,
"fieldname": "item_name",
"fieldtype": "Data",
"in_global_search": 1,
"label": "Item Name",
- "print_hide": 1,
- "reqd": 1
+ "print_hide": 1
},
{
"collapsible": 1,
@@ -100,11 +99,12 @@
"label": "Description"
},
{
+ "fetch_from": "item_code.description",
+ "fetch_if_empty": 1,
"fieldname": "description",
"fieldtype": "Text Editor",
"label": "Description",
"print_width": "300px",
- "reqd": 1,
"width": "300px"
},
{
@@ -296,7 +296,8 @@
},
{
"fieldname": "section_break_45",
- "fieldtype": "Section Break"
+ "fieldtype": "Section Break",
+ "label": "Serial and Batch Details"
},
{
"depends_on": "eval:!doc.is_fixed_asset",
@@ -322,7 +323,8 @@
"fieldtype": "Small Text",
"label": "Rejected Serial No",
"no_copy": 1,
- "print_hide": 1
+ "print_hide": 1,
+ "read_only": 1
},
{
"fieldname": "subcontracting_order_item",
@@ -413,14 +415,6 @@
"fieldtype": "Column Break"
},
{
- "fieldname": "tracking_section",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "col_break_tracking_section",
- "fieldtype": "Column Break"
- },
- {
"fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break",
"label": "Accounting Dimensions"
@@ -507,7 +501,7 @@
"idx": 1,
"istable": 1,
"links": [],
- "modified": "2023-08-24 11:52:22.666506",
+ "modified": "2023-08-24 12:14:25.123857",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt Item",