跳至內容
選單
此問題已被標幟
1 回覆
9393 瀏覽次數

Hi, I am using Openoffice for reports in openerp. I want to sum all the rows of a single column as total. Please help me,its urgent!

頭像
捨棄
作者

I would like to sum amount_tax as one and total as one in my report, I don't have lines in my report. Please help.

最佳答案
sum(YOUR_LINES, 'FIELD_TO_SUM')

for example, if you want sum all the price_unit of invoice lines you code must be:

sum(o.invoice_line, 'price_unit')

Sum is a native function in aeroo

頭像
捨棄
作者

I would like to sum amount_tax as one and total as one in my report, I don't have lines in my report. Please help.

作者

any solution?

相關帖文 回覆 瀏覽次數 活動
0
3月 15
4443
0
3月 15
3422
2
9月 23
7516
2
3月 23
46559
2
12月 23
57509