[FIX] web: adapt bold layout to new header
The previously created company_details field was introduced to allow customers to manually edit part of their pdf headers. Only the bold layout was not updated with this field. closes odoo/odoo#104299 X-original-commit: 16ece79ea5305a2e427024a43313096fa200901f Signed-off-by: Nicolas Viseur (vin) <vin@odoo.com>
This commit is contained in:
@@ -384,17 +384,7 @@
|
||||
<img t-if="company.logo" t-att-src="image_data_uri(company.logo)" alt="Logo"/>
|
||||
</div>
|
||||
<div class="col-5 offset-1" name="company_address">
|
||||
<ul class="list-unstyled">
|
||||
<strong><li t-if="company.name"><span t-field="company.name"/></li></strong>
|
||||
<li t-if="forced_vat or company.vat">
|
||||
<t t-esc="company.country_id.vat_label or 'Tax ID'"/>:
|
||||
<span t-if="forced_vat" t-esc="forced_vat"/>
|
||||
<span t-else="" t-field="company.vat"/>
|
||||
</li>
|
||||
<li t-if="company.phone">Tel: <span class="o_force_ltr" t-field="company.phone"/></li>
|
||||
<li t-if="company.email"><span t-field="company.email"/></li>
|
||||
<li t-if="company.website"><span t-field="company.website"/></li>
|
||||
</ul>
|
||||
<span t-if="company.company_details" t-field="company.company_details"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user