summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJuan Jose Scarafia <jjs@adhoc.com.ar>2020-08-02 01:11:53 +0000
committerJosse Colpaert <jco@odoo.com>2020-08-18 08:10:04 +0000
commit29b44207c9d59473c9532713aed20b01f6a36d0e (patch)
treeb55afcc75995c9248cad693251f0cc3e39aea23e /addons
parent13d1f3e012d0c528dbea67ee5e1d4c32548195a3 (diff)
[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>
Diffstat (limited to 'addons')
-rw-r--r--addons/l10n_ar/views/report_invoice.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_ar/views/report_invoice.xml b/addons/l10n_ar/views/report_invoice.xml
index 568bb6b2e66..5daacf0d931 100644
--- a/addons/l10n_ar/views/report_invoice.xml
+++ b/addons/l10n_ar/views/report_invoice.xml
@@ -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;">