コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4335 ビュー

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
3854
0
11月 24
1596
2
7月 24
3248
0
4月 24
2112
3
3月 24
2009