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

When i am upgrade my crm module it shows following error and does not login admin.

ProgrammingError: constraint "portal_crm_crm_contact_us_b_unit_fkey" of relation "portal_crm_crm_contact_us" does not exist

Can any one help me out......

아바타
취소
베스트 답변

Start the openerp-server updating your crm módule:

sh openerp-server -d yourdbname -u all

This command will update all your database structure. You can also only update especific module, for example:

sh openerp-server -d yourdbname -u my_crm
아바타
취소
작성자

Thank you Rafael Reuber i will try these commands...

작성자

Mr.Rafael Reuber when try this sh openerp-server -d yourdbname -u crm it shows openerp-server: 2: openerp-server: import: not found openerp-server: 5: openerp-server: Syntax error: Bad function name

베스트 답변

You probably deleted a module or a record related to b_unit.

What's b_unit ?

아바타
취소
작성자

b_unit is a field created by me in crm.py also in crm_lead.py

How did you create it - Paste your code. Did you updated your OpenERP instance recently ?

작성자

I created as a field in crm_lead.py file.I updated OpenERP instance recently 'B_unit':fields.many2one('crm.case.businessunit','Business Unit',required=True),

When you update, the core file and the addons files are updated (including the crm module), this means that probably the changes you made in crm_lead.py are lost.

관련 게시물 답글 화면 활동
1
3월 15
3844
1
3월 15
7740
0
7월 25
1502
2
11월 24
6449
2
10월 24
3455