fix: deleting unused Stock Entry Type
This commit is contained in:
parent
5b45961b9d
commit
d7b69e57ae
@ -25,3 +25,7 @@ def execute():
|
|||||||
doc = frappe.new_doc('Warehouse Type')
|
doc = frappe.new_doc('Warehouse Type')
|
||||||
doc.name = 'Transit'
|
doc.name = 'Transit'
|
||||||
doc.insert()
|
doc.insert()
|
||||||
|
|
||||||
|
frappe.reload_doc("stock", "doctype", "stock_entry_type")
|
||||||
|
frappe.delete_doc_if_exists("Stock Entry Type", "Send to Warehouse")
|
||||||
|
frappe.delete_doc_if_exists("Stock Entry Type", "Receive at Warehouse")
|
Loading…
Reference in New Issue
Block a user