Odoo Help


[Solved] Error: TypeError: must be type, not Integer - Odoo8

on 6/8/15, 2:41 AM 967 views


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?

On 6/8/15, 2:50 AM

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/8/15, 2:41 AM
Seen: 967 times
Last updated: 6/8/15, 3:25 AM