Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
15660 Näkymät

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,



Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
syysk. 24
2472
3
toukok. 22
10058
1
heinäk. 21
6848
1
helmik. 21
3752
1
marrask. 19
4930