Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8109 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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"

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 24
8596
0
thg 4 17
3299
1
thg 4 17
4675
2
thg 11 15
4988
0
thg 3 15
4768