fix(selling): exclude self from party specific item duplicate check

This commit is contained in:
Shllokkk
2026-10-22 14:40:15 +05:30
parent b746521eda
commit a0da316f54
@@ -30,7 +30,8 @@ class PartySpecificItem(Document):
"party_type": self.party_type,
"party": self.party,
"restrict_based_on": self.restrict_based_on,
"based_on": self.based_on_value,
"based_on_value": self.based_on_value,
"name": ("!=", self.name),
}
)
if exists: