İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2780 Görünümler

Hi,

I'm facing an issue that doesn't seems to have a solution so I'm asking here in case..

I got an integer field set it in the tree view and when I group the tree view by some other field It's shows in the toggle bar the value of my integer field (like: GROUP_NAME     5).

I saw answers like set editing the field properties but there's no such option in Odoo Online. I saw that I should remove the sum attribute in the XML view but there's none..

Do you have an answer?


Thanks in advance,

RANDRIATAVY Mandresy

Avatar
Vazgeç
Üretici En İyi Yanıt

So seems like there is no solution, what i've done is suppressed the current one and created a new field of type Char.

Avatar
Vazgeç
En İyi Yanıt

Try to put group_operator=False attribute on your field definition:

your_field = fields.Integer(group_operator=False)

Avatar
Vazgeç
Üretici

It's Odoo Online, I don't got access to this

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 23
3034
2
Mar 15
8588
2
Mar 24
3155
0
Nis 21
3905
3
Nis 25
4782