Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4417 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 24
4550
0
нояб. 24
1851
2
июл. 24
3774
0
апр. 24
2392
3
мар. 24
3785