Working
no payment
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<odoo>
|
||||
|
||||
<report
|
||||
id="action_report_warranty_claim"
|
||||
model="warranty.claim"
|
||||
string="Warranty Claim"
|
||||
report_type="qweb-pdf"
|
||||
name="odoo_warranty_claims.report_warranty_claim"
|
||||
file="odoo_warranty_claims.report_warranty_claim"
|
||||
/>
|
||||
|
||||
<template id="report_warranty_claim">
|
||||
<t t-call="web.external_layout">
|
||||
<t t-set="doc" t-value="doc"/>
|
||||
<div class="page">
|
||||
<h2>Warranty Claim <t t-esc="doc.name"/></h2>
|
||||
|
||||
<p>
|
||||
Customer: <t t-esc="doc.partner_id.name"/><br/>
|
||||
Manufacturer: <t t-esc="doc.manufacturer_id.name"/><br/>
|
||||
True Vendor: <t t-esc="doc.true_vendor_id.name"/><br/>
|
||||
Claim Date: <t t-esc="doc.claim_date"/>
|
||||
</p>
|
||||
|
||||
<h3>Product / Failure</h3>
|
||||
<p>
|
||||
Product: <t t-esc="doc.product_id.display_name"/><br/>
|
||||
Model: <t t-esc="doc.model"/><br/>
|
||||
Serial: <t t-esc="doc.serial_number"/><br/>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Failure:</strong><br/>
|
||||
<t t-esc="doc.failure"/>
|
||||
</p>
|
||||
|
||||
<h3>Invoices</h3>
|
||||
<p>
|
||||
Customer Invoices:
|
||||
<t t-foreach="doc.invoice_customer_ids" t-as="inv">
|
||||
<br/><t t-esc="inv.name"/>
|
||||
</t>
|
||||
</p>
|
||||
<p>
|
||||
Vendor Invoices:
|
||||
<t t-foreach="doc.invoice_vendor_ids" t-as="vinv">
|
||||
<br/><t t-esc="vinv.name"/>
|
||||
</t>
|
||||
</p>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user