Browse Source

Jan 4 [UPDT] : Updated 'dynamic_accounts_report'

pull/299/head
AjmalCybro 2 years ago
parent
commit
aff7dac592
  1. 6
      dynamic_accounts_report/report/financial_report_template.xml
  2. BIN
      dynamic_accounts_report/static/description/assets/screenshots/profitandloss.png
  3. 2
      dynamic_accounts_report/static/description/index.html
  4. 1
      dynamic_accounts_report/static/src/js/financial_reports.js
  5. 2
      dynamic_accounts_report/static/src/xml/financial_reports_view.xml

6
dynamic_accounts_report/report/financial_report_template.xml

@ -132,15 +132,15 @@
</span>
</td>
<td class="text-right">
<span t-esc="line['debit']"
<span t-esc="a.get('debit')"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right">
<span t-esc="line['credit']"
<span t-esc="a.get('credit')"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right">
<span t-esc="line['balance']"
<span t-esc="a.get('balance')"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
</tr>

BIN
dynamic_accounts_report/static/description/assets/screenshots/profitandloss.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

2
dynamic_accounts_report/static/description/index.html

@ -409,7 +409,7 @@
Profit and Loss PDF Report </h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
</p>
<img src="assets/screenshots/profit and loss pdf report.png"
<img src="assets/screenshots/profitandloss.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">

1
dynamic_accounts_report/static/src/js/financial_reports.js

@ -167,6 +167,7 @@ odoo.define('dynamic_accounts_report.financial_reports', function(require) {
[self.wizard_id], action_title, self.searchModel.config.context.lang
],
}).then(function(data) {
console.log("dddd", data)
var action = {
'type': 'ir.actions.report',
'report_type': 'qweb-pdf',

2
dynamic_accounts_report/static/src/xml/financial_reports_view.xml

@ -16,7 +16,7 @@
<table cellspacing="0" width="100%">
<thead>
<tr>
<th colspan="6" />f <th style="text-align: right; padding-right: 50px;"> Debit </th>
<th colspan="6" /> <th style="text-align: right; padding-right: 50px;"> Debit </th>
<th style="text-align: right; padding-right: 50px;"> Credit </th>
<th style="text-align: right; padding-right: 50px;"> Balance </th>
</tr>

Loading…
Cancel
Save