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

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
15516
1
3月 15
5261
1
3月 15
4596
0
3月 15
3918
2
6月 25
2042