Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
8116 Visualizações

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.

Avatar
Cancelar
Melhor resposta

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"

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
3
jul. 24
8598
0
abr. 17
3310
1
abr. 17
4678
2
nov. 15
4996
0
mar. 15
4775