mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-18 02:39:10 +02:00
Work on reports
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
<div class="col-3" t-if="o.payment_term_id">
|
||||
<font color="#fff">
|
||||
<strong> Payment Term:</strong>
|
||||
<strong> Payment Term: </strong>
|
||||
<p t-field="o.payment_term_id"/></font>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2,6 +2,24 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- QWeb Reports -->
|
||||
|
||||
<record id="paperformat_payment_receipt-report" model="report.paperformat">
|
||||
<field name="name">A4 Payment Receipt</field>
|
||||
<field name="default" eval="True" />
|
||||
<field name="format">A4</field>
|
||||
<field name="page_height">0</field>
|
||||
<field name="page_width">0</field>
|
||||
<field name="orientation">Portrait</field>
|
||||
<field name="margin_top">8</field>
|
||||
<field name="margin_bottom">0</field>
|
||||
<field name="margin_left">3</field>
|
||||
<field name="margin_right">0</field>
|
||||
<field name="header_line" eval="False" />
|
||||
<field name="header_spacing">5</field>
|
||||
<field name="dpi">90</field>
|
||||
</record>
|
||||
|
||||
|
||||
<report
|
||||
id="action_report_payment_receipt_reports"
|
||||
model="account.payment"
|
||||
@@ -10,5 +28,8 @@
|
||||
name="reports.report_payment_receipt_views"
|
||||
file="reports.report_payment_receipt_views"
|
||||
/>
|
||||
<record id="action_report_payment_receipt_reports" model="ir.actions.report.xml">
|
||||
<field name="paperformat_id" ref="reports.paperformat_payment_receipt"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="page">
|
||||
<table class="table table-sm">
|
||||
<tr>
|
||||
<th style="border:1px solid;width:50%">
|
||||
<th style="border:1px solid;width:50%;top:2px">
|
||||
<strong>Code: </strong><br/>
|
||||
<strong>Address: </strong><br/>
|
||||
<strong>Telephone Number: </strong><br/>
|
||||
|
||||
Reference in New Issue
Block a user