Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6843 Vizualizări

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?
 

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.'), 
    ]

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
nov. 20
3540
2
mar. 15
8378
2
mar. 21
5008
1
mar. 15
4512
1
mai 24
8487