跳至内容
菜单
此问题已终结
1 回复
9402 查看

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
4460
0
3月 15
3433
2
9月 23
7520
2
3月 23
46564
2
12月 23
57518