clean up commercial invoice

This commit is contained in:
Marc Durepos 2025-04-10 12:08:44 -04:00
parent dd4062a0d3
commit d42f885c27

View file

@ -123,10 +123,10 @@ Valeur totale</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<t t-set="all_lines" t-value="o.invoice_ids.mapped('invoice_line_ids')"/> <t t-set="all_lines" t-value="o.invoice_ids.mapped('invoice_line_ids').filtered('product_id')"/>
<tr t-foreach="all_lines" t-as="line"> <tr t-foreach="all_lines" t-as="line">
<td name="line_name"> <td name="line_name">
<span t-field="line.name"/> <span t-field="line.product_id.display_name"/>
</td> </td>
<td> <td>
<span t-field="line.product_id.hs_code"/> <span t-field="line.product_id.hs_code"/>