[FIX] l10n_ar: invoice pdf on cia without website
closes odoo/odoo#55892 closes odoo/odoo#55893 X-original-commit: 2e5eb5b5a69f0eebcdca5405d2924472a55cbb21 Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
committed by
Josse Colpaert
parent
13d1f3e012
commit
29b44207c9
@@ -43,7 +43,7 @@
|
||||
header_address.zip,
|
||||
header_address.country_id and header_address.country_id.name] if item])"/><span t-if="header_address.phone"> - </span><span t-if="header_address.phone" style="white-space: nowrap;" t-esc="'Tel: ' + header_address.phone"/>
|
||||
<br/>
|
||||
<span t-att-style="'color: %s;' % o.company_id.primary_color" t-esc="' - '.join([item for item in [header_address.website.replace('https://', '').replace('http://', ''), header_address.email] if item])"/>
|
||||
<span t-att-style="'color: %s;' % o.company_id.primary_color" t-esc="' - '.join([item for item in [(header_address.website or '').replace('https://', '').replace('http://', ''), header_address.email] if item])"/>
|
||||
</t>
|
||||
</div>
|
||||
<div class="col-6 text-right" style="padding-left: 0px;">
|
||||
|
||||
Reference in New Issue
Block a user