Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
8246 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
3
juil. 24
8758
0
avr. 17
3486
1
avr. 17
4765
2
nov. 15
5188
0
mars 15
4963