chore: deprecation warning for remove-india
This commit is contained in:
@@ -368,3 +368,4 @@ erpnext.patches.v13_0.set_per_billed_in_return_delivery_note
|
|||||||
erpnext.patches.v13_0.update_employee_advance_status
|
erpnext.patches.v13_0.update_employee_advance_status
|
||||||
erpnext.patches.v13_0.job_card_status_on_hold
|
erpnext.patches.v13_0.job_card_status_on_hold
|
||||||
erpnext.patches.v13_0.add_cost_center_in_loans
|
erpnext.patches.v13_0.add_cost_center_in_loans
|
||||||
|
erpnext.patches.v13_0.show_india_localisation_deprecation_warning
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import click
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
if not frappe.db.exists("Company", {"country": "India"}):
|
||||||
|
return
|
||||||
|
|
||||||
|
click.secho(
|
||||||
|
"India-specific regional features have been moved to a separate app"
|
||||||
|
" and will be removed from ERPNext in Version 14."
|
||||||
|
" Please install India Compliance after upgrading to Version 14:\n"
|
||||||
|
"https://github.com/resilient-tech/india-compliance",
|
||||||
|
fg="yellow",
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user