Skip to content

Commit

Permalink
EBP CSV: wrong order for the 2 last columns
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via authored and Alexis de Lattre committed Feb 1, 2021
1 parent 21fd96f commit 1b6e5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_balance_ebp_csv_export/report/balance_ebp_csv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<odoo>

<template id="report_trial_balance_ebp_csv">Compte.Numero,Compte.Intitule,Balance.SldCptNDebit,Balance.SldCptNCredit,Balance.SldCptNSoldeD,Balance.SldCptNSoldeC
<t t-foreach="docs" t-as="o"><t t-foreach="o.account_ids" t-as="a"><t t-esc="a.code"/>,"<t t-esc="a.name"/>",<t t-esc="a.debit"/>,<t t-esc="a.credit"/>,<t t-esc="a.final_balance &lt; 0 and -a.final_balance or 0.00" />,<t t-esc="a.final_balance > 0 and a.final_balance or 0.00"/>
<t t-foreach="docs" t-as="o"><t t-foreach="o.account_ids" t-as="a"><t t-esc="a.code"/>,"<t t-esc="a.name"/>",<t t-esc="round(a.debit, 2)"/>,<t t-esc="round(a.credit, 2)"/>,<t t-esc="a.final_balance &gt; 0 and round(a.final_balance, 2) or 0.00" />,<t t-esc="a.final_balance &lt; 0 and -round(a.final_balance, 2) or 0.00"/>
</t></t>
</template>

Expand Down

0 comments on commit 1b6e5b6

Please sign in to comment.