<t t-foreach="doc.invoice_ids._get_tax_amount_by_group()" t-as="amount_aja">
<tr>
<td colspan="3" class="meta-head-1"><span t-esc="amount_aja[0] if len(doc.tax_line_ids) > 1 else (doc.tax_line_ids.tax_id.description or doc.tax_line_ids.tax_id.name)" /></td>
<td class="meta-head-1">
<span t-esc="amount_aja[1]" t-options='{"widget": "monetary", "display_currency": doc.currency_id}'/>
</td>
</tr>
</t>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2676
Views
it's great , if i want to show tax description or tax name, do you can help ?
Hello Herry prasetyo,
Try this :-
<t t-foreach="doc.invoice_ids" t-as="amount_aja">
<span t-esc="amount_aja[0].amount_tax"/>
</t>
Hope it will works for you.
Thanks,
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up