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?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/8/15, 2:41 AM|
|Seen: 455 times|
|Last updated: 6/8/15, 3:25 AM|