12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <template id="new_external_layout">
- <!-- Multicompany -->
- <t t-if="o and 'company_id' in o">
- <t t-set="company" t-value="o.company_id"></t>
- </t>
- <t t-if="not o or not 'company_id' in o">
- <t t-set="company" t-value="res_company"></t>
- </t>
- <t t-call="new_pdf_formats.new_external_layout_header" />
- <t t-raw="0" />
- <t t-call="report.external_layout_footer" />
- </template>
- <template id="new_external_layout_header">
- <div class="header">
- <div class="row">
- <div class="col-xs-8">
- <div>
- <strong><span t-field="company.partner_id" style="font-size:20px"/></strong>
- </div>
- <div t-field="company.rml_header1"/>
- <div>
- <span>R.U.C:</span>
- <span t-field="company.partner_id.ruc"/>
- </div>
- <div t-field="company.street"/>
- <div t-field="company.street2"/>
- <div t-field="company.state_id"/>
- <div t-field="company.country_id"/>
- </div>
- <div class="col-xs-4">
- <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 100px; float:right"/>
- </div>
- </div>
- <div class="row zero_min_height">
- <div class="col-xs-12">
- <div style="border-bottom: 1px solid black;"></div>
- </div>
- </div>
- </div>
- </template>
- </data>
- </openerp>
|