From cf9c065cf88ba706c036b4f199ae9c39b5bea836 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Fri, 22 Jul 2022 12:22:57 +0530 Subject: [PATCH] refactor: Add exotel deprecation warning --- .../v13_0/exotel_integration_deprecation_warning.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 erpnext/patches/v13_0/exotel_integration_deprecation_warning.py diff --git a/erpnext/patches/v13_0/exotel_integration_deprecation_warning.py b/erpnext/patches/v13_0/exotel_integration_deprecation_warning.py new file mode 100644 index 0000000000..6e84ba9176 --- /dev/null +++ b/erpnext/patches/v13_0/exotel_integration_deprecation_warning.py @@ -0,0 +1,10 @@ +import click + + +def execute(): + + click.secho( + "Exotel 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/exotel_integration", + fg="yellow", + )