Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4308 Vistas

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 Mejor respuesta

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 24
3729
0
nov 24
1543
2
jul 24
3146
0
abr 24
2075
3
mar 24
1879