I used the code below so it will be able to print the invoice with items included on Product bundle - there is a table named packed_items
{%- for i in doc.packed_items -%}
<tr>
<td>
{{ i.item_code }} - {{ i.item_name }} - Batch:{{ i.batch_no or '' }} - Batch: {{ i.expiry_date or '' }} - Qty: {{ i.qty or '' }}
</td>
</tr>
{%- endfor -%}
{{ _("Products in Bundle") }} |
---|