fix: dashboard + button not working (#19095)

This commit is contained in:
Anurag Mishra
2019-09-19 18:12:57 +05:30
committed by GitHub
parent bd749dce18
commit 02cb668f22
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,8 @@ frappe.ui.form.on("Purchase Order", {
frm.custom_make_buttons = {
'Purchase Receipt': 'Receipt',
'Purchase Invoice': 'Invoice',
'Stock Entry': 'Material to Supplier'
'Stock Entry': 'Material to Supplier',
'Payment Entry': 'Payment'
}
frm.set_query("reserve_warehouse", "supplied_items", function() {

View File

@@ -10,7 +10,8 @@ frappe.ui.form.on("Sales Order", {
'Sales Invoice': 'Invoice',
'Material Request': 'Material Request',
'Purchase Order': 'Purchase Order',
'Project': 'Project'
'Project': 'Project',
'Payment Entry': "Payment"
}
frm.add_fetch('customer', 'tax_id', 'tax_id');