Skip to content

Commit 5bdba15

Browse files
Aakash-Gupta101ljain112
authored andcommitted
fix: updated fix for the permission issue according to new structure
(cherry picked from commit 672eac7)
1 parent 9f760b1 commit 5bdba15

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)