mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
fix: ignore duplicates explicitly
This commit is contained in:
committed by
Ankush Menat
parent
856d3f63b5
commit
9c7df2eec5
@@ -82,7 +82,7 @@ class TallyMigration(Document):
|
||||
"is_private": True
|
||||
})
|
||||
try:
|
||||
f.insert()
|
||||
f.insert(ignore_if_duplicate=True)
|
||||
except frappe.DuplicateEntryError:
|
||||
pass
|
||||
setattr(self, key, f.file_url)
|
||||
|
||||
Reference in New Issue
Block a user