跳至内容
菜单
此问题已终结
1 回复
4328 查看

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
3826
0
11月 24
1577
2
7月 24
3213
0
4月 24
2105
3
3月 24
1973