fix: Disable Add Row and Delete Row for Bundle Items
This commit is contained in:
parent
bdbd4f83ab
commit
4353c5e339
@ -28,6 +28,9 @@ frappe.ui.form.on("Purchase Order", {
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_df_property('packed_items', 'cannot_add_rows', true);
|
||||
frm.set_df_property('packed_items', 'cannot_delete_rows', true);
|
||||
|
||||
},
|
||||
|
||||
company: function(frm) {
|
||||
|
@ -18,6 +18,8 @@ frappe.ui.form.on('Quotation', {
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_df_property('packed_items', 'cannot_add_rows', true);
|
||||
frm.set_df_property('packed_items', 'cannot_delete_rows', true);
|
||||
},
|
||||
|
||||
refresh: function(frm) {
|
||||
|
Loading…
Reference in New Issue
Block a user