Skip to content

Commit

Permalink
fix: added count as third parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Jan 3, 2025
1 parent 30c18f1 commit cebf856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crm/fcrm/doctype/fcrm_settings/fcrm_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cebf856

Please sign in to comment.