refactor: Add deprecation warning for agriculture domain (#29149)
This commit is contained in:
@@ -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.disable_ksa_print_format_for_others # 16-12-2021
|
||||||
erpnext.patches.v13_0.update_tax_category_for_rcm
|
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.convert_to_website_item_in_item_card_group_template
|
||||||
|
erpnext.patches.v13_0.agriculture_deprecation_warning
|
||||||
|
|||||||
10
erpnext/patches/v13_0/agriculture_deprecation_warning.py
Normal file
10
erpnext/patches/v13_0/agriculture_deprecation_warning.py
Normal 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",
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user