refactor: Add deprecation warning for agriculture domain (#29149)

This commit is contained in:
Chillar Anand
2022-01-05 11:56:32 +05:30
committed by GitHub
parent 485fa4700f
commit a64efb764b
2 changed files with 11 additions and 0 deletions

View File

@@ -339,3 +339,4 @@ erpnext.patches.v13_0.rename_ksa_qr_field
erpnext.patches.v13_0.disable_ksa_print_format_for_others # 16-12-2021
erpnext.patches.v13_0.update_tax_category_for_rcm
erpnext.patches.v13_0.convert_to_website_item_in_item_card_group_template
erpnext.patches.v13_0.agriculture_deprecation_warning

View File

@@ -0,0 +1,10 @@
import click
def execute():
click.secho(
"Agriculture Domain is moved to a separate app and will be removed from ERPNext in version-14.\n"
"When upgrading to ERPNext version-14, please install the app to continue using the Agriculture domain: https://github.com/frappe/agriculture",
fg="yellow",
)