|
@@ -10,6 +10,19 @@
|
|
file="factura_venta_bioelectric.report_notacredito_bioelectric"
|
|
file="factura_venta_bioelectric.report_notacredito_bioelectric"
|
|
/>
|
|
/>
|
|
|
|
|
|
|
|
+ <template id="report_header_custom" inherit_id="report.external_layout_header">
|
|
|
|
+ <xpath expr="//div[@class='header']" position="replace">
|
|
|
|
+ <div class ="header">
|
|
|
|
+ </div>
|
|
|
|
+ </xpath>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
|
|
+ <template id="external_layout_footer" inherit_id="report.external_layout_footer">
|
|
|
|
+ <xpath expr="//div[@class='footer']" position="replace">
|
|
|
|
+ <div class ="footer">
|
|
|
|
+ </div>
|
|
|
|
+ </xpath>
|
|
|
|
+ </template>
|
|
|
|
|
|
<template id="report_notacredito_bioelectric">
|
|
<template id="report_notacredito_bioelectric">
|
|
<t t-call="report.html_container">
|
|
<t t-call="report.html_container">
|
|
@@ -100,7 +113,7 @@
|
|
<table style="border-collapse: collapse; width: 100%;">
|
|
<table style="border-collapse: collapse; width: 100%;">
|
|
<tr>
|
|
<tr>
|
|
<td style="padding: 5px; padding-left: 0.2cm; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd;; border-left: 3px solid #ddd; border-right: 3px solid #ddd; width: 70%;"><strong>Dirección: </strong><t t-f="o.partner_id.street"><span t-field="o.partner_id.street"/> <span t-field="o.partner_id.street2"/></t>
|
|
<td style="padding: 5px; padding-left: 0.2cm; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd;; border-left: 3px solid #ddd; border-right: 3px solid #ddd; width: 70%;"><strong>Dirección: </strong><t t-f="o.partner_id.street"><span t-field="o.partner_id.street"/> <span t-field="o.partner_id.street2"/></t>
|
|
- <t t-f="not o.partner_id.street"> </t></td>
|
|
|
|
|
|
+ <t t-if="not o.partner_id.street"> </t></td>
|
|
<td style="padding: 5px; padding-left: 0.2cm; padding-bottom: 0.2cm; border-top: 3px solid #ddd; border-bottom: 3px solid #ddd; border-left: 2px solid #ddd; border-right: 3px solid #ddd; width: 30%;"><strong>RUC Nº: </strong><span t-field="o.partner_id.ruc"/></td>
|
|
<td style="padding: 5px; padding-left: 0.2cm; padding-bottom: 0.2cm; border-top: 3px solid #ddd; border-bottom: 3px solid #ddd; border-left: 2px solid #ddd; border-right: 3px solid #ddd; width: 30%;"><strong>RUC Nº: </strong><span t-field="o.partner_id.ruc"/></td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|