refactor: Added deprecation warning for hospitality domain (#29384)

This commit is contained in:
Chillar Anand
2022-01-21 11:36:40 +05:30
committed by GitHub
parent d32f229483
commit 696fc0a482
2 changed files with 11 additions and 0 deletions

View File

@@ -342,3 +342,4 @@ 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
erpnext.patches.v13_0.update_maintenance_schedule_field_in_visit
erpnext.patches.v13_0.hospitality_deprecation_warning

View File

@@ -0,0 +1,10 @@
import click
def execute():
click.secho(
"Hospitality 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/hospitality",
fg="yellow",
)