mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix(selling): exclude self from party specific item duplicate check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user