Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
6856 Prikazi

In Odoo Standard, it is possible to :

Use the same email adress for different companies
Use the same email adress for 2 contacts within the same company

Is there a specific reason why no check is made on email? Is anyone finding this problematic or at least not following their requirements and has found a module that does a check on a unique email adress?
 

Avatar
Opusti
Best Answer

Have a look at this app: https://apps.odoo.com/apps/modules/9.0/crm_duplicates/

Avatar
Opusti
Best Answer

It depends on customer requirement.  If email needs to be unique, you could add _sql_constraints

class res_partner(orm.Model):
    _inherit = 'res.partner'   

    _sql_constraints = [
        ('email_res_uniq', 'unique (email)', 'Partner e-Mail must be unique.'), 
    ]

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
nov. 20
3542
2
mar. 15
8386
2
mar. 21
5022
1
mar. 15
4518
1
maj 24
8492