Skip to content

Commit

Permalink
Merge PR #3881 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by aleuffre
  • Loading branch information
OCA-git-bot committed Jan 23, 2024
2 parents 0ae0b7b + 2e400c2 commit 0893a41
Showing 1 changed file with 7 additions and 40 deletions.
47 changes: 7 additions & 40 deletions l10n_it_delivery_note/report/report_delivery_note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,46 +54,13 @@
<h4>
<strong>Delivery address:</strong>
</h4>
<t t-if="doc.partner_id.id == doc.partner_sender_id.id">
<div
t-field="doc.partner_shipping_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'
/>
<p t-if="doc.partner_shipping_id.vat"><t
t-esc="doc.company_id.country_id.vat_label or 'Tax ID'"
/>: <span t-field="doc.partner_shipping_id.vat" /></p>
</t>
<t t-if="doc.partner_id.id != doc.partner_sender_id.id">
<t
t-if="doc.partner_sender_id.id != doc.partner_shipping_id.id"
>
<small>
<div
t-field="doc.partner_sender_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'
/>
<p t-if="doc.partner_sender_id.vat"><t
t-esc="doc.company_id.country_id.vat_label or 'Tax ID'"
/>: <span t-field="doc.partner_sender_id.vat" /></p>
</small>
<div
t-field="doc.partner_shipping_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'
/>
<p t-if="doc.partner_shipping_id.vat"><t
t-esc="doc.company_id.country_id.vat_label or 'Tax ID'"
/>: <span t-field="doc.partner_shipping_id.vat" /></p>
</t>
<t t-else="">
<div
t-field="doc.partner_sender_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'
/>
<p t-if="doc.partner_sender_id.vat"><t
t-esc="doc.company_id.country_id.vat_label or 'Tax ID'"
/>: <span t-field="doc.partner_sender_id.vat" /></p>
</t>
</t>
<div
t-field="doc.partner_shipping_id"
t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}'
/>
<p t-if="doc.partner_shipping_id.vat"><t
t-esc="doc.company_id.country_id.vat_label or 'Tax ID'"
/>: <span t-field="doc.partner_shipping_id.vat" /></p>
</t>
<t t-if="doc.picking_ids and doc.picking_ids[0].location_id.id">
<t t-set="information_block">
Expand Down

0 comments on commit 0893a41

Please sign in to comment.