[FIX] account_financial_report: Display the values of Amount cur. + Cumul cur. values in general ledger only if necessary
The currency_id field of the lines is always set, so follow the same logic as in report/templates/general_ledger and show the data only if the currency is set in the account. TT51204
This commit is contained in:
committed by
chaule97
parent
1af1121962
commit
3d36527370
@@ -367,10 +367,7 @@
|
||||
</t>
|
||||
</div>
|
||||
<!-- Display each lines -->
|
||||
<t
|
||||
t-set="total_bal_curr"
|
||||
t-value="account_or_group_item_object['init_bal'].get('bal_curr', 0)"
|
||||
/>
|
||||
<t t-set="total_bal_curr" t-value="0" />
|
||||
<t t-foreach="account_or_group_item_object['move_lines']" t-as="line">
|
||||
<!-- # lines or centralized lines -->
|
||||
<div class="act_as_row lines">
|
||||
|
||||
Reference in New Issue
Block a user