Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4337 Prikazi

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
Opusti
Avtor Best Answer

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
dec. 24
3868
0
nov. 24
1598
2
jul. 24
3255
0
apr. 24
2115
3
mar. 24
2026