From cebf856cb27657455bf04dcb453f83a7b10c0037 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 3 Jan 2025 19:47:22 +0530 Subject: [PATCH] fix: added count as third parameter --- crm/fcrm/doctype/fcrm_settings/fcrm_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm/fcrm/doctype/fcrm_settings/fcrm_settings.py b/crm/fcrm/doctype/fcrm_settings/fcrm_settings.py index 63862e7b9..08a0a4b7e 100644 --- a/crm/fcrm/doctype/fcrm_settings/fcrm_settings.py +++ b/crm/fcrm/doctype/fcrm_settings/fcrm_settings.py @@ -26,7 +26,7 @@ def sync_table(key, hook): count = 0 # maintain count because list may come from seperate apps for item in frappe.get_hooks(hook): if item.get("name1") not in existing_items: - crm_settings.append(key, item) + crm_settings.append(key, item, count) new_standard_items[item.get("name1")] = True count += 1