跳至內容
選單
此問題已被標幟
1 回覆
4325 瀏覽次數

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
3820
0
11月 24
1576
2
7月 24
3208
0
4月 24
2104
3
3月 24
1951