Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6836 Представления

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?
 

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
нояб. 20
3538
2
мар. 15
8358
2
мар. 21
4979
1
мар. 15
4503
1
мая 24
8476