mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
fix: enable row deletion in reference table (#30492)
(cherry picked from commit 500870b2b0)
Co-authored-by: rahib-hassan <rahib.hassan10@gmail.com>
This commit is contained in:
@@ -12,7 +12,6 @@ frappe.ui.form.on('Payment Order', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
frm.set_df_property('references', 'cannot_add_rows', true);
|
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