Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2819 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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

your_field = fields.Integer(group_operator=False)

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
0
dub 23
3089
2
bře 15
8623
2
bře 24
3206
0
dub 21
3977
3
dub 25
4926