[UPDATE]UPDATE
This commit is contained in:
parent
05bd5b9f39
commit
f222e20159
|
|
@ -171,5 +171,46 @@
|
|||
name="exp_transaction_documents.transaction_outgoing_receive_report"
|
||||
paperformat="paperformat_transaction_receive_report"
|
||||
menu="True"/>
|
||||
|
||||
<!-- add new report -->
|
||||
<!-- <record id="paperformat_internal_transaction_card" model="report.paperformat">-->
|
||||
<!-- <field name="name">Internal Transaction Card</field>-->
|
||||
<!-- <field name="default" eval="True"/>-->
|
||||
<!-- <field name="format">A4</field>-->
|
||||
<!--<!– <field name="page_height">140</field> <!– Custom height –>–>-->
|
||||
<!--<!– <field name="page_width">210</field> <!– A4 width –>–>-->
|
||||
<!-- <field name="dpi">90</field>-->
|
||||
<!-- <field name="margin_top">10</field>-->
|
||||
<!-- <field name="margin_bottom">10</field>-->
|
||||
<!-- <field name="margin_left">10</field>-->
|
||||
<!-- <field name="margin_right">10</field>-->
|
||||
|
||||
<!-- </record>-->
|
||||
<report
|
||||
id="action_report_internal_transaction"
|
||||
model="internal.transaction"
|
||||
string="Print Transaction"
|
||||
report_type="qweb-pdf"
|
||||
name="exp_transaction_documents.report_internal_transaction"
|
||||
file="exp_transaction_documents.report_internal_transaction"
|
||||
menu="True"/>
|
||||
|
||||
<template id="report_internal_transaction">
|
||||
<t t-call="web.html_container">
|
||||
<t t-foreach="docs" t-as="doc">
|
||||
<t t-call="web.basic_layout">
|
||||
<div dir="rtl" class="page text-center">
|
||||
<h2>تفاصيل المعاملة</h2>
|
||||
<p> رقم المعاملة: <t t-esc="doc.name"/></p>
|
||||
<p>الموضوع: <t t-esc="doc.subject"/></p>
|
||||
<p>التاريخ: <t t-esc="doc.transaction_date"/></p>
|
||||
<!-- Add more details as needed -->
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<!-- end -->
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Reference in New Issue