mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
fix: show custom buttons after save
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user