Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4424 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é
1
déc. 24
4585
0
nov. 24
1875
2
juil. 24
3802
0
avr. 24
2418
3
mars 24
3859