Vitap Ramdevputra
Vitap Ramdevputra

Reputation: 160

Unique and Mandatory Email-id while adding new lead in OpenERP7

I am new in OpenERP and have a task to achieve.

I want to keep Email-id unique and mandatory while adding new lead in CRM. I would like to know which is the best way to achieve it.

Thank You

Upvotes: 0

Views: 67

Answers (1)

Parthiv
Parthiv

Reputation: 1010

you have to use _constraint for the field email address where it checks for the uniqueness of the field. use required=True for making it required for each data.

Cheers, Parthiv

Upvotes: 1

Related Questions