Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4588 Visualizzazioni

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
Abbandona
Autore Risposta migliore

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 25
646
1
dic 24
5568
0
nov 24
2220
2
lug 24
4406
0
apr 24
2735