تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6964 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 20
3620
2
مارس 15
8463
2
مارس 21
5106
1
مارس 15
4629
1
مايو 24
8699