Skip to content
Snippets Groups Projects
Commit 81e2da3f authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me: Committed by Benjami
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 40281f19
No related branches found
No related tags found
2 merge requests!253[REL] Release 06/11/23,!191V1 imrpvements to CompanyEasyCreation wizard (CRM Lead execution)🙋‍
......@@ -35,7 +35,7 @@ class ResPartner(models.Model):
('email', '=', self.email),
('user_ids', '!=', False)
])
if self.email and count_users >= 1:
if self.email and count_users > 0:
raise ValidationError('The email already registered, please use another email!')
def cron_update_company_ids_from_user(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment