Skip to Content
मेन्यू
This question has been flagged
1 Reply
4315 Views

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
Discard
Author Best Answer

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Discard
Related Posts Replies Views Activity
1
दिस॰ 24
3757
0
नव॰ 24
1561
2
जुल॰ 24
3180
0
अप्रैल 24
2088
3
मार्च 24
1898