تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2765 أدوات العرض

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

your_field = fields.Integer(group_operator=False)

الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 23
3023
2
مارس 15
8582
2
مارس 24
3135
0
أبريل 21
3887
3
أبريل 25
4767