refactor: Subcontracting Receipt Item form view

This commit is contained in:
s-aga-r
2023-08-24 12:16:12 +05:30
parent 4e7cccbdf0
commit d1e877b6f0

View File

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