Browse Source
* chore: warning for shopify integration deprecation * fix: warn deprecation during patch for sysadminsdevelop
Ankush
3 years ago
committed by
GitHub
4 changed files with 23 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||
import click |
|||
import frappe |
|||
|
|||
|
|||
def execute(): |
|||
|
|||
frappe.reload_doc("erpnext_integrations", "doctype", "shopify_settings") |
|||
if not frappe.db.get_single_value("Shopify Settings", "enable_shopify"): |
|||
return |
|||
|
|||
click.secho( |
|||
"Shopify Integration is moved to a separate app and will be removed from ERPNext in version-14.\n" |
|||
"Please install the app to continue using the integration: https://github.com/frappe/ecommerce_integrations", |
|||
fg="yellow", |
|||
) |
Loading…
Reference in new issue