update fonts in transaction reports and translation
This commit is contained in:
parent
9a6c2166d0
commit
377ba422d9
|
|
@ -45,7 +45,7 @@
|
|||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;">Reference:</span>
|
||||
<span t-field="o.incoming_transaction_id.transaction_date"
|
||||
t-field-options='{"format": "yyyy/MM/dd"}'/>
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -70,16 +70,15 @@
|
|||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"
|
||||
t-att-alt="'%s' % company.name"
|
||||
style="width:80px;height:80px;"/>
|
||||
t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-if="o.internal_transaction_id">
|
||||
<div class="header droidkufi-font">
|
||||
<div class="row">
|
||||
|
|
@ -147,9 +146,9 @@
|
|||
|
||||
<t t-if="o.outgoing_transaction_id">
|
||||
<div class="header droidkufi-font">
|
||||
<div class="row">
|
||||
<br/>
|
||||
<div class="col-6 text-right">
|
||||
<div class="row" style="direction: ltr; margin-top: 0px; margin-left: -50px">
|
||||
<!--<br/>-->
|
||||
<div class="col-6 text-right" style="direction: rtl;">
|
||||
<table align="left"
|
||||
style="border:1px solid white;width:50;margin-left:60px;margin-top:0px;margin-right:5px;margin-bottom:40px;text-align: justify;">
|
||||
<tr style="border:0px">
|
||||
|
|
@ -157,36 +156,42 @@
|
|||
<t t-esc="o.outgoing_transaction_id.name"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;font-stretch: expanded;">
|
||||
Date:
|
||||
</span>
|
||||
<!--<tr style="border:0px">-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold;font-stretch: expanded;">-->
|
||||
<!-- Date:-->
|
||||
<!-- </span>-->
|
||||
|
||||
<t t-set="date_hijri"
|
||||
t-value="o.outgoing_transaction_id.transaction_date_hijri"/>
|
||||
<!-- <t t-set="date_hijri" t-value="o.outgoing_transaction_id.transaction_date_hijri"/>-->
|
||||
|
||||
<t t-set="date_hijri2" t-value="date_hijri.split('-')"/>
|
||||
<!-- <t t-set="date_hijri2" t-value="date_hijri.split('-')"/>-->
|
||||
|
||||
<t t-esc="date_hijri2[0]"/>/<t t-esc="date_hijri2[1]"/>/
|
||||
<t t-esc="date_hijri2[2]"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <t t-esc="date_hijri2[0]"/>/<t t-esc="date_hijri2[1]"/>/-->
|
||||
<!-- <t t-esc="date_hijri2[2]"/>-->
|
||||
<!-- </td>-->
|
||||
<!--</tr>-->
|
||||
<tr>
|
||||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold;">Reference:</span>
|
||||
<span t-field="o.outgoing_transaction_id.transaction_date"
|
||||
t-field-options='{"format": "yyyy/MM/dd"}'/>
|
||||
<span t-field="o.outgoing_transaction_id.subject"
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="border:0px;padding-right:30px !important;">
|
||||
<span style="font-weight:bold">Attachment:</span>
|
||||
<span style="direction: ltr !important;">
|
||||
<t t-esc="o.outgoing_transaction_id.attachment_num"/>
|
||||
</span>
|
||||
<span style="font-weight:bold;"></span>
|
||||
<span t-field="o.outgoing_transaction_id.transaction_date"
|
||||
t-field-options="{"format": "yyyy/MM/dd"}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!--<tr>-->
|
||||
<!-- <td colspan="2" style="border:0px;padding-right:30px !important;">-->
|
||||
<!-- <span style="font-weight:bold">Attachment:</span>-->
|
||||
<!-- <span style="direction: ltr !important;">-->
|
||||
<!-- <t t-esc="o.outgoing_transaction_id.attachment_num"/>-->
|
||||
<!-- </span>-->
|
||||
<!-- </td>-->
|
||||
<!--</tr>-->
|
||||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.outgoing_transaction_id.name, 600, 100)"
|
||||
|
|
@ -195,17 +200,15 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-6 text-left">
|
||||
<table align="left">
|
||||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"
|
||||
t-att-alt="'%s' % company.name"
|
||||
style="width:80px;height:80px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--<div class="col-6 text-left">-->
|
||||
<!-- <table align="left">-->
|
||||
<!-- <tr style="border:0px">-->
|
||||
<!-- <td colspan="2" style="border:0px">-->
|
||||
<!-- <img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)" t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>-->
|
||||
<!-- </td>-->
|
||||
<!-- </tr>-->
|
||||
<!-- </table>-->
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
|
@ -221,8 +224,7 @@
|
|||
<tr style="border:0px">
|
||||
<td colspan="2" style="border:0px">
|
||||
<img t-att-src="'/logo.png?company=%s' % (o.env.user.company_id.id or 0)"
|
||||
t-att-alt="'%s' % company.name"
|
||||
style="width:80px;height:80px;"/>
|
||||
t-att-alt="'%s' % company.name" style="width:80px;height:80px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -230,20 +232,19 @@
|
|||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<div class="article o_report_layout_standard droidkufi-font">
|
||||
<t t-raw="0"/>
|
||||
</div>
|
||||
<div class="footer droidkufi-font">
|
||||
<div class="text-center">
|
||||
<div class="text-muted">
|
||||
Page:
|
||||
<span class="page"/>
|
||||
/
|
||||
<span class="topage"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="footer">-->
|
||||
<!-- <div class="text-center">-->
|
||||
<!-- <div class="text-muted">-->
|
||||
<!-- Page:-->
|
||||
<!-- <span class="page"/>-->
|
||||
<!-- /-->
|
||||
<!-- <span class="topage"/>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
</template>
|
||||
|
||||
<template id="formal_letter_external_layout">
|
||||
|
|
@ -301,6 +302,8 @@
|
|||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
|
||||
<record model="report.paperformat" id="paperformat_formal_letters_report">
|
||||
<field name="name">paperformat.letters.formal.report</field>
|
||||
<field name="default" eval="True"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue