Skip to content

Commit

Permalink
[FIX] Delivery add & Carrier information in report
Browse files Browse the repository at this point in the history
  • Loading branch information
atchuthan authored and ChrisOForgeFlow committed Oct 23, 2023
1 parent e37c00b commit f9e49f7
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions stock_picking_batch_report/reports/report_picking_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,14 @@
t-value="picking.partner_id or (picking.move_lines and picking.move_lines[0].partner_id) or False"
/>
<t t-if="partner" name="partner_header">
<t t-set="address">
<div
t-esc="partner"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'
/>
</t>
<div class="row">
<div class="col-5 offset-7">
<div
t-esc="partner"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True}'
/>
</div>
</div>
</t>

<div class="page">
Expand Down Expand Up @@ -155,6 +157,13 @@
/>
</t>
</div>
<div
t-if="picking.picking_type_id.code == 'outgoing' and picking.carrier_id"
class="col-auto"
>
<strong>Carrier:</strong>
<p t-field="picking.carrier_id" />
</div>
</div>
<table
class="table table-sm"
Expand Down

0 comments on commit f9e49f7

Please sign in to comment.