Skip to content

Commit f2b07c2

Browse files
Update erpnext/edi/doctype/code_list/code_list.py
Co-authored-by: Raffael Meyer <[email protected]>
1 parent 7772201 commit f2b07c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

erpnext/edi/doctype/code_list/code_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __delete_linked_docs(self):
4343
)
4444

4545
for doc in linked_docs:
46-
frappe.delete_doc("Common Code", doc.name, force=1)
46+
frappe.delete_doc("Common Code", doc.name)
4747

4848
def get_codes_for(self, doctype: str, name: str) -> tuple[str]:
4949
"""Get the applicable codes for a doctype and name"""

0 commit comments

Comments
 (0)