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

Hello

I found an error but I don't know how to fix it.

In my increment code I am using an Integer ticketnumber but super() doesn't like this :


File "/home/vagrant/addons/helpdesk/helpdesk.py", line 27, in create

return super(helpdesk.ticketnumber, self).create(cr, uid, vals, context=context)

TypeError: must be type, not Integer


Try changing it to a char but it says "must be type, not Char"..

What type must it be?

아바타
취소
작성자 베스트 답변

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

아바타
취소
관련 게시물 답글 화면 활동
1
12월 24
4310
0
11월 24
1761
2
7월 24
3594
0
4월 24
2312
3
3월 24
3190