summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-08-27 15:29:24 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-08-27 15:29:24 +0700
commit9add83a67fb62b20db56750f3d318debb84ea5e5 (patch)
tree3b3db53578a4054d270f01a639be8161e4501716
parent491a66b7245379c23d0555c29d0d9d7861013144 (diff)
fix bug res partner duplicate email and name
-rw-r--r--indoteknik_custom/models/res_partner.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py
index 7a714ea7..148a3fd0 100644
--- a/indoteknik_custom/models/res_partner.py
+++ b/indoteknik_custom/models/res_partner.py
@@ -279,7 +279,6 @@ class ResPartner(models.Model):
if record.name:
existing_partner = self.env['res.partner'].search([
('id', '!=', record.id),
- '|',
('name', '=', record.name),
('email', '=', record.email)
], limit=1)