Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] sale_third_party: Fix view #499

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions sale_third_party/reports/sale_third_party_report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@
<odoo>
<template id="sale_third_party_layout_standard">
<div class="header">
<div class="row">
<div class="row" style="border-bottom: 1px solid black">
<div class="col-6" name="third_party_address">
<span
<address
t-field="doc.third_party_partner_id"
t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'
style="border-bottom: 1px solid black; display:inline-block;"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/>
<div t-if="doc.third_party_partner_id.vat" class="mt16">
<t
t-if="doc.third_party_partner_id.country_id.vat_label"
t-esc="doc.third_party_partner_id.country_id.vat_label"
id="inv_tax_id_label"
/>
<t t-else="">Tax ID</t>: <span
t-field="doc.third_party_partner_id.vat"
/></div>
</div>
</div>
</div>
Expand Down
Loading