fix: append does not have 3rd argument

This commit is contained in:
Shariq Ansari 2024-12-29 11:03:26 +05:30
parent 0ae424de83
commit 8ca2fdcbe5

View File

@ -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, count)
crm_settings.append(key, item)
new_standard_items[item.get("name1")] = True
count += 1