I am struggling to understand what picking OUT report uses as addresses here. I would like to include the warehouse address were items are dispatched from, but I am not sure how to incorporate it and I do not fully understand what conditions are being tested:
<div class="col-xs-6"> <div t-if="o.move_lines and o.move_lines[0].partner_id and o.move_lines[0].partner_id.id != o.partner_id.id">
<span><strong>Dirección de entrega:</strong></span>
<div t-field="o.move_lines[0].partner_id" t-field-options="{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}"/>
</div> <div t-if="o.picking_type_id.code != 'internal' and (not o.move_lines or not o.move_lines[0].partner_id) and o.picking_type_id.warehouse_id.partner_id">
<span><strong>Dirección de almacén:</strong></span>
<div t-field="o.picking_type_id.warehouse_id.partner_id" t-field-options="{"widget": "contact", "fields": ["address", "name", "phone", "fax"], "no_marker": true}"/>
</div>
</div>
</div>