Odoo Help

0

How to manipulate the sum() function for the tree (group by) view?

By
wizardz
on 10/11/18, 5:14 AM 98 views

Hi people,

I have a problem and I need your help ;)

When I make filter with group by, I have at the bottom of the page the (sum) number. Thats okay, because I added sum() function in the tree view for this specific view and the fields. (see screenshot 1):


This is the "sum" of all group by rows. 

Now when I open one specific group by row, like this (see screenshot 2) and select all in this group, the sum is changing (see screenshot 3). Why is this changing?



Is there any possibility to not calculate the sum when I select a row with the "checkboxes"? I need all time the first value like in (screenshot 1).

It should not change. 

Where can I find that function in the odoo10 code?

Thank you for your help.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/11/18, 5:14 AM
Seen: 98 times
Last updated: 10/11/18, 5:15 AM