تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
8247 أدوات العرض

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
يوليو 24
8758
0
أبريل 17
3487
1
أبريل 17
4766
2
نوفمبر 15
5189
0
مارس 15
4963