Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4589 Vues

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
Ignorer
Auteur Meilleure réponse

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
sept. 25
646
1
déc. 24
5568
0
nov. 24
2220
2
juil. 24
4406
0
avr. 24
2735