Skip to content

Commit

Permalink
Merge pull request #580 from 8848digital/518received_stock_entries_issue
Browse files Browse the repository at this point in the history
fix: error on button recieved stock entries button in se
  • Loading branch information
tinadn authored Nov 7, 2024
2 parents d23c4d1 + c434d91 commit bad838a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/stock_entry/stock_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ frappe.ui.form.on("Stock Entry", {
function () {
frappe.route_options = {
outgoing_stock_entry: frm.doc.name,
docstatus: ["!=", 2],
docstatus: ["in", [0, 1]],
};

frappe.set_route("List", "Stock Entry");
Expand Down

0 comments on commit bad838a

Please sign in to comment.