İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4324 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

Never mind.. Got it to work

I had helpdesk.ticketnumber instead of using the class helpdesk

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 24
3819
0
Kas 24
1576
2
Tem 24
3208
0
Nis 24
2104
3
Mar 24
1951