I am building an app in which I want to allow user to fetch all Items from ERPNext if my App is installed along with ERPNext.
How can I detect presence of ERPNext?
Note: My app is not dependent on ERPNext as it is a standalone app.
I am building an app in which I want to allow user to fetch all Items from ERPNext if my App is installed along with ERPNext.
How can I detect presence of ERPNext?
Note: My app is not dependent on ERPNext as it is a standalone app.
Is your App a ‘Frappe App’?
Just my 2 cents:
frappe.db.exists("Doctype", "Item", cache=True)
if "app_name" in frappe.get_installed_apps()
replace app_name with erpnext