mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
fix: Remove pointless buttons from Payment Order (#28108)
fix: Remove pointless buttons from Payment Order
(cherry picked from commit c9f3ea5fea)
Co-authored-by: Ganga Manoj <ganga.manoj98@gmail.com>
This commit is contained in:
@@ -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) {
|
refresh: function(frm) {
|
||||||
if (frm.doc.docstatus == 0) {
|
if (frm.doc.docstatus == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user