Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
15758 Vizualizări

Hello Expert 

I am trying to display the sum of computed fields in the Tree Menu

On the vendors Form, I am trying that if Group by is made then it should sum the Credit and Debit balance of the vendor and display it.

In the tree Menu i have added the Sum in the XML view but it is not working.

Kindly Suggest what to do.

Regards,



Imagine profil
Abandonează
Cel mai bun răspuns

Please see the answer written here : \https://www.odoo.com/forum/help-1/question/how-to-show-sum-total-for-a-compute-field-in-list-view-group-by-153745

Imagine profil
Abandonează
Cel mai bun răspuns

The computed fields need to be defined as Stored fields for the sum to work. 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Dreamy,

I think we cant do the sum to the group by of the compute function, may be you can solve this by give a new field and write the value to this field and you can use this field for sum and group by.

By Python Brains

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
sept. 24
2563
3
mai 22
10083
1
iul. 21
6896
1
feb. 21
3819
1
nov. 19
4970