Skip to Content
Menú
This question has been flagged
1 Respondre
4305 Vistes

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?

Avatar
Descartar
Autor Best Answer

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 24
3708
0
de nov. 24
1536
2
de jul. 24
3127
0
d’abr. 24
2069
3
de març 24
1874