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

Some fields if u see in tree views have an attribute called sum for showing the grand total of all the rows of a column. How can we these summed field as it is our openerp report? pls help

Ex: amount_total, amount_untaxed in customer invoices tree view

形象
丢弃
最佳答案

Hi in stock.move.line the field eur_weight is written

[[ move_lines.eur_weight or '' ]]

if I want to have the total :

[[ 'eur_weight' in picking._columns.keys() and picking.eur_weight or '']]
形象
丢弃
编写者

sorry but i couldn't find the field in stock_move and i cant find stock_move_line in my db

编写者

can you please explain more and give some other example my version is 6.1

相关帖文 回复 查看 活动
4
3月 15
15348
1
3月 15
5108
1
3月 15
4471
0
3月 15
3767
2
6月 25
1574