Skip to content

Commit b0ca19a

Browse files
authored
Merge pull request #4270 from resilient-tech/mergify/bp/version-15-hotfix/pr-4268
fix: updated fix for the permission issue according to new structure (backport #4268)
2 parents 9f760b1 + 5bdba15 commit b0ca19a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

india_compliance/gst_india/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ def check_duplicate_party(field: str, value: str, party_type: str, party: str |
10851085
if party_type not in GST_PARTY_TYPES:
10861086
return
10871087

1088-
frappe.has_permission(party_type, doc=party, throw=True)
1088+
frappe.has_permission(party_type, throw=True)
10891089

10901090
value = value.upper().strip()
10911091

0 commit comments

Comments
 (0)