Hi,
According to the documentation this should work, however I get an error.
I try to achieve something simular, but then in de picking list report. Below the code I've tried
<tr t-foreach="o.move_line_ids_without_package.sorted(lambda ml: ml.product_id.display_name)" t-as="ml">
<td>
<span t-field="line.product_id.image_128" t-options-widget="image" t-options-width="64px"/>
<span t-field="ml.product_id.display_name">Customizable Desk</span><br/>
<span t-if="ml.product_id.description_picking" t-field="ml.product_id.description_picking">Description on transfer</span>
</td>
And the error in return:
RPC_ERROR
Arbitrary Uncaught Python Exception
400
Bad Request
Session expired (invalid CSRF token)
The above server error caused the following client error:
RPC_ERROR: Arbitrary Uncaught Python Exception
RPC_ERROR
at makeErrorFromResponse (link)
at decoder.onload (link)
What am I doing wrong?
PS. Instead of line.product_id.image.. I have also tried ml.product_id.image..
Thanks!