Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2726 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

your_field = fields.Integer(group_operator=False)

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 23
2990
2
mar 15
8537
2
mar 24
3096
0
kwi 21
3853
3
kwi 25
4700