콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6982 화면

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
11월 20
3621
2
3월 15
8508
2
3월 21
5137
1
3월 15
4642
1
5월 24
8758