Our business is bit different. In our case we have Item in our erp system without stock (0 item in stock). Then for customer request we create sales order and purchase stock (which add stock = 1).
Other hand, when sales order is confirmed we want to create PickList from background using following action:
create_pick_list() {
frappe.model.open_mapped_doc({
method: "erpnext.selling.doctype.sales_order.sales_order.create_pick_list",
frm: this.frm
})
},
We are able to create PickList in Draft mode. But, problem is, in pick list there is no Item showing. The reason is we don’t have stock for this particular Item.
How can I manage this situation? Any idea?