mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
refactor: Added deprecation warning for hospitality domain (#29384)
This commit is contained in:
@@ -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.convert_to_website_item_in_item_card_group_template
|
||||||
erpnext.patches.v13_0.agriculture_deprecation_warning
|
erpnext.patches.v13_0.agriculture_deprecation_warning
|
||||||
erpnext.patches.v13_0.update_maintenance_schedule_field_in_visit
|
erpnext.patches.v13_0.update_maintenance_schedule_field_in_visit
|
||||||
|
erpnext.patches.v13_0.hospitality_deprecation_warning
|
||||||
|
|||||||
10
erpnext/patches/v13_0/hospitality_deprecation_warning.py
Normal file
10
erpnext/patches/v13_0/hospitality_deprecation_warning.py
Normal 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",
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user