Skip to content

Commit

Permalink
fix: missing Item Name on Save for Quotation created from Item (#41233)
Browse files Browse the repository at this point in the history
* fix: missing Item Name on Save for Quotation created from Item

* fix: missing Item Name on Save for Quotation created from Item
  • Loading branch information
FHenry committed May 2, 2024
1 parent 93c6324 commit c8e92cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/stock/doctype/item/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ frappe.ui.form.on("Item", {
frm.add_fetch("tax_type", "tax_rate", "tax_rate");

frm.make_methods = {
Quotation: () => {
open_form(frm, "Quotation", "Quotation Item", "items");
},
"Sales Order": () => {
open_form(frm, "Sales Order", "Sales Order Item", "items");
},
Expand Down

0 comments on commit c8e92cb

Please sign in to comment.