fix: Remove pointless buttons from Payment Order
fix: Remove pointless buttons from Payment Order
This commit is contained in:
parent
f24ed6723e
commit
c9f3ea5fea
@ -10,6 +10,9 @@ frappe.ui.form.on('Payment Order', {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
frm.set_df_property('references', 'cannot_add_rows', true);
|
||||
frm.set_df_property('references', 'cannot_delete_rows', true);
|
||||
},
|
||||
refresh: function(frm) {
|
||||
if (frm.doc.docstatus == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user