Skip to Content
Menu
This question has been flagged
1 Atsakyti
4330 Rodiniai

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?

Portretas
Atmesti
Autorius Best Answer

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
gruod. 24
3827
0
lapkr. 24
1588
2
liep. 24
3217
0
bal. 24
2107
3
kov. 24
1977