fix: enable no copy for serial no field

This commit is contained in:
Mihir Kandoi
2025-03-12 16:35:50 +05:30
parent 877d5bd3aa
commit 3f9df2fb2d
4 changed files with 15 additions and 13 deletions

View File

@@ -461,7 +461,8 @@
"depends_on": "eval:!doc.is_fixed_asset && doc.use_serial_batch_fields === 1 && parent.update_stock === 1",
"fieldname": "serial_no",
"fieldtype": "Text",
"label": "Serial No"
"label": "Serial No",
"no_copy": 1
},
{
"depends_on": "eval:!doc.is_fixed_asset && doc.use_serial_batch_fields === 1 && parent.update_stock === 1",
@@ -975,7 +976,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2024-10-28 15:06:19.246141",
"modified": "2025-03-12 16:33:12.453290",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice Item",
@@ -985,4 +986,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
}

View File

@@ -633,6 +633,7 @@
"fieldname": "serial_no",
"fieldtype": "Text",
"label": "Serial No",
"no_copy": 1,
"oldfieldname": "serial_no",
"oldfieldtype": "Small Text"
},
@@ -972,19 +973,17 @@
"search_index": 1
}
],
"grid_page_length": 50,
"idx": 1,
"istable": 1,
"links": [],
"modified": "2025-03-05 12:22:11.801692",
"modified": "2025-03-12 16:33:52.503777",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice Item",
"naming_rule": "Random",
"owner": "Administrator",
"permissions": [],
"row_format": "Dynamic",
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
}

View File

@@ -1017,7 +1017,8 @@
{
"fieldname": "serial_no",
"fieldtype": "Text",
"label": "Serial No"
"label": "Serial No",
"no_copy": 1
},
{
"fieldname": "rejected_serial_no",
@@ -1140,7 +1141,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2025-02-17 13:15:36.692202",
"modified": "2025-03-12 16:34:29.722982",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt Item",
@@ -1151,4 +1152,4 @@
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
}

View File

@@ -110,7 +110,8 @@
"depends_on": "eval:doc.use_serial_batch_fields === 1",
"fieldname": "serial_no",
"fieldtype": "Long Text",
"label": "Serial No"
"label": "Serial No",
"no_copy": 1
},
{
"fieldname": "column_break_11",
@@ -255,7 +256,7 @@
],
"istable": 1,
"links": [],
"modified": "2024-05-30 23:20:00.947243",
"modified": "2025-03-12 16:34:51.326821",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Reconciliation Item",
@@ -266,4 +267,4 @@
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
}