Fix for DlvLogo/OcLogo
parent
0599c82462
commit
c2f176953b
|
|
@ -103,11 +103,13 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-5 text-right">
|
<div class="col-xs-5 text-right">
|
||||||
<t t-if="(DlvRetailLogo or DlvLogo) and o._name == 'stock.picking' and is_picking">
|
<!-- <t t-if="(DlvRetailLogo or DlvLogo) and o._name == 'stock.picking' and is_picking"> -->
|
||||||
|
<!-- <t t-elif="OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']"> -->
|
||||||
|
<t t-if="DlvRetailLogo or DlvLogo">
|
||||||
<img t-if="o.sale_id.partner_id.retail_partner_id.image" t-att-src="'data:image/png;base64,%s' % o.sale_id.partner_id.retail_partner_id.image.decode()"
|
<img t-if="o.sale_id.partner_id.retail_partner_id.image" t-att-src="'data:image/png;base64,%s' % o.sale_id.partner_id.retail_partner_id.image.decode()"
|
||||||
style="max-height: 85px;"/>
|
style="max-height: 85px;"/>
|
||||||
</t>
|
</t>
|
||||||
<t t-elif="OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']">
|
<t t-elif="OcLogo">
|
||||||
<img t-if="o.partner_id.retail_partner_id.image" t-att-src="'data:image/png;base64,%s' % o.partner_id.retail_partner_id.image.decode()"
|
<img t-if="o.partner_id.retail_partner_id.image" t-att-src="'data:image/png;base64,%s' % o.partner_id.retail_partner_id.image.decode()"
|
||||||
style="max-height: 85px;"/>
|
style="max-height: 85px;"/>
|
||||||
</t>
|
</t>
|
||||||
|
|
@ -128,7 +130,9 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<hr class="red-line-1"/>
|
<hr class="red-line-1"/>
|
||||||
</div>
|
</div>
|
||||||
<t t-if="(DlvRetailLogo or DlvLogo) and o._name == 'stock.picking' and is_picking">
|
<!-- <t t-if="(DlvRetailLogo or DlvLogo) and o._name == 'stock.picking' and is_picking"> -->
|
||||||
|
<!-- <t t-elif="OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']"> -->
|
||||||
|
<t t-if="DlvRetailLogo or DlvLogo">
|
||||||
<div class="row" style="padding-left:0;">
|
<div class="row" style="padding-left:0;">
|
||||||
<div class="col-xs-12 text-center">
|
<div class="col-xs-12 text-center">
|
||||||
<strong>
|
<strong>
|
||||||
|
|
@ -150,7 +154,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
<t t-elif="OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']">
|
<t t-elif="OcLogo">
|
||||||
<div class="row" style="padding-left:0;">
|
<div class="row" style="padding-left:0;">
|
||||||
<div class="col-xs-12 text-center">
|
<div class="col-xs-12 text-center">
|
||||||
<strong>
|
<strong>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue