Browse Source

[UPDT] Casf flow style

pull/166/head
Ajmal Cybro 4 years ago
parent
commit
327eaa5371
  1. 2
      base_accounting_kit/__manifest__.py
  2. 8
      base_accounting_kit/doc/changelog.md
  3. 45
      base_accounting_kit/report/cash_flow_report.xml

2
base_accounting_kit/__manifest__.py

@ -22,7 +22,7 @@
{
'name': 'Odoo 14 Full Accounting Kit',
'version': '14.0.3.8.8',
'version': '14.0.3.9.8',
'category': 'Accounting',
'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs',
'summary': """ Asset and Budget Management,

8
base_accounting_kit/doc/changelog.md

@ -53,9 +53,15 @@
#### UPDT
- Multiple Invoice Copies added.
#### 27.04.2021
#### 03.05.2021
#### Version 14.0.3.8.8
#### UPDT
- Budget added as depend
- Removed the budget option of enterprise
#### 03.05.2021
#### Version 14.0.3.9.8
#### UPDT
- Cash flow style updated

45
base_accounting_kit/report/cash_flow_report.xml

@ -17,36 +17,54 @@
</div>
<div class="col-4">
<p>
<strong>Date from :</strong> <span t-esc="data['date_from']"/><br/>
<strong>Date to :</strong> <span t-esc="data['date_to']"/>
<strong>Date from :</strong>
<span t-esc="data['date_from']"/>
<br/>
<strong>Date to :</strong>
<span t-esc="data['date_to']"/>
</p>
</div>
</div>
<table class="table table-sm table-reports">
<thead>
<tr>
<th><strong>Name</strong></th>
<th class="text-right" t-if="data['debit_credit']"><strong>Debit</strong></th>
<th class="text-right" t-if="data['debit_credit']"><strong>Credit</strong></th>
<th class="text-right"><strong>Balance</strong></th>
<th class="text-right" t-if="data['enable_filter']"><strong t-esc="data['label_filter']"/></th>
<th>
<strong>Name</strong>
</th>
<th class="text-right" t-if="data['debit_credit']">
<strong>Debit</strong>
</th>
<th class="text-right" t-if="data['debit_credit']">
<strong>Credit</strong>
</th>
<th class="text-right">
<strong>Balance</strong>
</th>
<th class="text-right" t-if="data['enable_filter']">
<strong t-esc="data['label_filter']"/>
</th>
</tr>
</thead>
<tbody>
<tr t-foreach="get_account_lines" t-as="a">
<t t-if="a['level'] != 0">
<t t-if="a.get('level') &gt; 3"><t t-set="style" t-value="'font-weight: normal;'"/></t>
<t t-if="not a.get('level') &gt; 3"><t t-set="style" t-value="'font-weight: bold;'"/></t>
<t t-if="a.get('level') &gt; 3">
<t t-set="style" t-value="'font-weight: normal;'"/>
</t>
<t t-if="not a.get('level') &gt; 3">
<t t-set="style" t-value="'font-weight: bold;'"/>
</t>
<td>
<span style="color: white;" t-esc="'..' * a.get('level', 0)"/>
<span t-att-style="style" t-esc="a.get('name')"/>
</td>
<td class="text-right" style="white-space: text-nowrap;">
<td t-if="data['debit_credit']" class="text-right" style="white-space: text-nowrap;">
<span t-att-style="style" t-esc="a.get('debit')" t-if="data['debit_credit']"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right" style="white-space: text-nowrap;">
<span t-att-style="style" t-esc="a.get('credit')" t-if="data['debit_credit']"
<td t-if="data['debit_credit']" class="text-right" style="white-space: text-nowrap;">
<span t-att-style="style" t-esc="a.get('credit')"
t-if="data['debit_credit']"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right" style="white-space: text-nowrap;">
@ -54,7 +72,8 @@
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
<td class="text-right">
<span t-att-style="style" t-esc="a.get('balance_cmp')" t-if="data['enable_filter']"
<span t-att-style="style" t-esc="a.get('balance_cmp')"
t-if="data['enable_filter']"
t-options="{'widget': 'monetary', 'display_currency': env.company.currency_id}"/>
</td>
</t>

Loading…
Cancel
Save