Merge pull request #22087 from MyuddinKhatri/purchase-receipt-hotfix

fix(stock): create purchase invoice from purchase receipt dashboard
This commit is contained in:
Deepesh Garg
2020-06-03 13:37:36 +05:30
committed by GitHub

View File

@@ -25,7 +25,7 @@ frappe.ui.form.on("Purchase Receipt", {
frm.custom_make_buttons = { frm.custom_make_buttons = {
'Stock Entry': 'Return', 'Stock Entry': 'Return',
'Purchase Invoice': 'Invoice' 'Purchase Invoice': 'Purchase Invoice'
}; };
frm.set_query("expense_account", "items", function() { frm.set_query("expense_account", "items", function() {