mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 02:28:30 +00:00
fix(ux): make qty field read-only for serial item
This commit is contained in:
@@ -134,6 +134,10 @@ frappe.ui.form.on('Serial and Batch Bundle', {
|
||||
frm.fields_dict.entries.grid.update_docfield_property(
|
||||
'batch_no', 'read_only', !frm.doc.has_batch_no
|
||||
);
|
||||
|
||||
frm.fields_dict.entries.grid.update_docfield_property(
|
||||
'qty', 'read_only', frm.doc.has_serial_no
|
||||
);
|
||||
},
|
||||
|
||||
set_queries(frm) {
|
||||
|
||||
Reference in New Issue
Block a user