fix: Add button PO, PI, SI, DN and, Quotation Dashboard (#24187)
This commit is contained in:
parent
4a649a4fce
commit
e62ce4b172
@ -498,7 +498,7 @@ cur_frm.cscript.select_print_heading = function(doc,cdt,cdn){
|
||||
frappe.ui.form.on("Purchase Invoice", {
|
||||
setup: function(frm) {
|
||||
frm.custom_make_buttons = {
|
||||
'Purchase Invoice': 'Debit Note',
|
||||
'Purchase Invoice': 'Return / Debit Note',
|
||||
'Payment Entry': 'Payment'
|
||||
}
|
||||
|
||||
|
@ -592,7 +592,7 @@ frappe.ui.form.on('Sales Invoice', {
|
||||
|
||||
frm.custom_make_buttons = {
|
||||
'Delivery Note': 'Delivery',
|
||||
'Sales Invoice': 'Sales Return',
|
||||
'Sales Invoice': 'Return / Credit Note',
|
||||
'Payment Request': 'Payment Request',
|
||||
'Payment Entry': 'Payment'
|
||||
},
|
||||
|
@ -58,8 +58,8 @@ frappe.ui.form.on("Purchase Order Item", {
|
||||
erpnext.buying.PurchaseOrderController = erpnext.buying.BuyingController.extend({
|
||||
setup: function() {
|
||||
this.frm.custom_make_buttons = {
|
||||
'Purchase Receipt': 'Receipt',
|
||||
'Purchase Invoice': 'Invoice',
|
||||
'Purchase Receipt': 'Purchase Receipt',
|
||||
'Purchase Invoice': 'Purchase Invoice',
|
||||
'Stock Entry': 'Material to Supplier',
|
||||
'Payment Entry': 'Payment',
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
frappe.ui.form.on('Quotation', {
|
||||
setup: function(frm) {
|
||||
frm.custom_make_buttons = {
|
||||
'Sales Order': 'Make Sales Order'
|
||||
'Sales Order': 'Sales Order'
|
||||
},
|
||||
|
||||
frm.set_query("quotation_to", function() {
|
||||
|
@ -13,7 +13,7 @@ frappe.ui.form.on("Delivery Note", {
|
||||
frm.custom_make_buttons = {
|
||||
'Packing Slip': 'Packing Slip',
|
||||
'Installation Note': 'Installation Note',
|
||||
'Sales Invoice': 'Invoice',
|
||||
'Sales Invoice': 'Sales Invoice',
|
||||
'Stock Entry': 'Return',
|
||||
'Shipment': 'Shipment'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user