fix: show custom buttons after save
This commit is contained in:
parent
4284ad880b
commit
3af46cc6cc
@ -9,6 +9,9 @@ frappe.ui.form.on('Membership', {
|
||||
},
|
||||
|
||||
refresh: function(frm) {
|
||||
if (frm.doc.__islocal)
|
||||
return;
|
||||
|
||||
!frm.doc.invoice && frm.add_custom_button("Generate Invoice", () => {
|
||||
frm.call({
|
||||
doc: frm.doc,
|
||||
|
Loading…
Reference in New Issue
Block a user