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",
"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",
@ -412,14 +414,6 @@
"fieldname": "image_column",
"fieldtype": "Column Break"
},
{
"fieldname": "tracking_section",
"fieldtype": "Section Break"
},
{
"fieldname": "col_break_tracking_section",
"fieldtype": "Column Break"
},
{
"fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break",
@ -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",