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

Hi,

I need to display tax rate in rml account.invoice report dynamically, as opposed to hardcoding it into report. For example:

Vat 15% :

How can I get this value? And where is it stored?

Many thanks in advance.

頭像
捨棄
最佳答案

From our invoice that does display the VAT rate by line item

[[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]]

Sorry dont understand it fully, but I assume the field you require is "invoice_line_tax_id"

頭像
捨棄
作者

Thank you, I did not know at the moment of asking that VAT rate is only on per-item basis.

相關帖文 回覆 瀏覽次數 活動
3
7月 24
8597
0
4月 17
3308
1
4月 17
4677
2
11月 15
4995
0
3月 15
4774