rework report_templates
parent
7b43ebaecb
commit
09e6900afb
|
|
@ -112,7 +112,29 @@
|
|||
<div class="row">
|
||||
<hr class="red-line-1"/>
|
||||
</div>
|
||||
<t t-if="(DlvLogo and o._name == 'stock.picking' and is_picking) or (OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent'])">
|
||||
<t t-if="DlvLogo and o._name == 'stock.picking' and is_picking">
|
||||
<div class="row" style="padding-left:0;">
|
||||
<div class="col-xs-12 text-center">
|
||||
<strong>
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.name"/>
|
||||
·
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.street"/>
|
||||
·
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.zip"/>
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.city"/>
|
||||
·
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.phone"/>
|
||||
·
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.email"/>
|
||||
<t t-if ="o.sale_id.partner_id.retail_partner_id.website">
|
||||
·
|
||||
<span t-esc="o.sale_id.partner_id.retail_partner_id.website.replace('http://', '').replace('https://', '')"/>
|
||||
</t>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
<t t-if="OcLogo and not (data or {}).get('tz_report_production', False) and o.state not in ['draft','sent']">
|
||||
<div class="row" style="padding-left:0;">
|
||||
<div class="col-xs-12 text-center">
|
||||
<strong>
|
||||
|
|
@ -252,9 +274,11 @@
|
|||
<br/>
|
||||
</div>
|
||||
<div>
|
||||
<strong>
|
||||
<span t-esc="cmpy.website.replace('http://', '').replace('https://', '')"/>
|
||||
</strong>
|
||||
<t t-if ="cmpy.website">
|
||||
<strong>
|
||||
<span t-esc="cmpy.website.replace('http://', '').replace('https://', '')"/>
|
||||
</strong>
|
||||
</t>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue