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", "depends_on": "eval:!doc.is_fixed_asset && doc.use_serial_batch_fields === 1 && parent.update_stock === 1",
"fieldname": "serial_no", "fieldname": "serial_no",
"fieldtype": "Text", "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", "depends_on": "eval:!doc.is_fixed_asset && doc.use_serial_batch_fields === 1 && parent.update_stock === 1",
@@ -975,7 +976,7 @@
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2024-10-28 15:06:19.246141", "modified": "2025-03-12 16:33:12.453290",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Purchase Invoice Item", "name": "Purchase Invoice Item",

View File

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

View File

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

View File

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