In Odoo we are attempting to show information from the associated delivery ticket/sale order in Product Label (ZPL) found in Settings / Technical / Actions / Reports.
We would like to display the customer's name, sales order number, sales order date, and the description of each item on the label.
The product name was already a part of the label, but we can't find the way to pull the other fields from the delivery ticket when printing ZPL labels.
So we need to figure out what to add to the code to do this. We've tried everything we can think of.
The current code in its QWeb view (label_product_product_view) is the following:
```
<t t-name="stock.label_product_pr oduct_view">
<t t-foreach="quantity.items()" t-as="barcode_and_qty_by_produ ct">
<t t-set="product" t-value="barcode_and_qty_by_pr oduct[0]"/>
<t t-foreach="barcode_and_qty_by_ product[1]" t-as="product_info">
<t t-set="barcode" t-value="product_info['barcode ']"/>
<t t-set="currency_id" t-value="pricelist.currency_id or product.currency_id"/>
<t t-foreach="range(product_info[ 'quantity'])" t-as="qty">
<t t-translation="off">
^XA
^FX Second section with recipient address and permit information.
^CFJ,250
^FO50,100^FD<t t-out="product_info['display_n ame_markup']"/>^FS
^XZ
</t>
</t>
</t>
</t>
</t>