chore(asset): change field name

This commit is contained in:
SowmyaArunachalam
2025-12-03 20:53:38 +05:30
parent d52d98666f
commit b5ee193566
3 changed files with 7 additions and 7 deletions

View File

@@ -307,7 +307,7 @@ def set_depr_entry_posting_status_for_failed_assets(failed_asset_names):
def notify_depr_entry_posting_error(failed_asset_names, error_log_names):
user_role = frappe.db.get_single_value("Accounts Settings", "role_used_for_depreciation_failure")
user_role = frappe.db.get_single_value("Accounts Settings", "role_to_notify_on_depreciation_failure")
recipients = get_users_with_role(user_role or "Accounts Manager")
if not recipients: