fix: show custom buttons after save

This commit is contained in:
Rucha Mahabal 2021-01-21 11:59:34 +05:30
parent 4284ad880b
commit 3af46cc6cc

View File

@ -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,