chore: warning for Amazon MWS integration deprecation (#29792)

* chore: warning for amazon mws integration deprecation

* style: spaces to tabs

[skip ci]
This commit is contained in:
Sagar Sharma
2022-02-15 11:37:29 +05:30
committed by GitHub
parent 321cbd5982
commit 83ab63ba81
3 changed files with 25 additions and 1 deletions

View File

@@ -1,2 +1,10 @@
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on('Amazon MWS Settings', {
refresh: function (frm) {
let app_link = "<a href='https://github.com/frappe/ecommerce_integrations' target='_blank'>Ecommerce Integrations</a>"
frm.dashboard.add_comment(__("Amazon MWS Integration will be removed from ERPNext in Version 14. Please install {0} app to continue using it.", [app_link]), "yellow", true);
}
});