Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2785 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

your_field = fields.Integer(group_operator=False)

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 23
3044
2
thg 3 15
8595
2
thg 3 24
3164
0
thg 4 21
3918
3
thg 4 25
4792