brotherton-erpnext/erpnext/patches/v14_0/show_loan_management_deprecation_warning.py
Anand Baburajan 988d755906
refactor!: removing loan management module (#35522)
* chore: resolving conflicts

* refactor: bank_clearance and add hook for get_payment_entries_for_bank_clearance

* refactor: bank_reconciliation_tool and add hook for get_matching_vouchers_for_bank_reconciliation

* fix: remove sales invoice from bank_reconciliation_doctypes and use hook for voucher clearance

* refactor: remove loan tests from test_bank_transaction

* refactor: bank_clearance_summary and add hook for get_entries_for_bank_clearance_summary

* refactor: removed test_bank_reconciliation_statement

* refactor: bank_reconciliation_statement and add hook for get_amounts_not_reflected_in_system_for_bank_reconciliation_statement

* refactor: add missing hook and patches for module removal and deprecation warning

* refactor: remove loan management translations

* chore: add erpnext tests dependent on lending
2023-06-30 11:02:49 +05:30

17 lines
402 B
Python

import click
import frappe
def execute():
if "lending" in frappe.get_installed_apps():
return
click.secho(
"Loan Management module has been moved to a separate app"
" and will be removed from ERPNext in Version 15."
" Please install the Lending app when upgrading to Version 15"
" to continue using the Loan Management module:\n"
"https://github.com/frappe/lending",
fg="yellow",
)