mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] debit and credit where reversed
This commit is contained in:
committed by
Sandy Carter
parent
d2e0d35fd2
commit
1ed1b957a0
@@ -118,7 +118,7 @@
|
||||
<td>
|
||||
</td>
|
||||
<td class="cell col_header col_header_third" colspan="4">
|
||||
${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines)}${_("items")}
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_debits_lines)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col">
|
||||
${formatLang(rec.sum_of_debits, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -152,7 +152,7 @@
|
||||
<td>
|
||||
</td>
|
||||
<td class="cell col_header col_header_third" colspan="4">
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines)}${_("items")}
|
||||
${_("Cheques and Debits")}${" - %s " % int(rec.sum_of_credits_lines)}${_("items")}
|
||||
</td>
|
||||
<td class="cell line_sum right_col">
|
||||
${formatLang(-rec.sum_of_credits, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -221,7 +221,7 @@
|
||||
<td>
|
||||
</td>
|
||||
<td class="cell col_header col_header_third" colspan="4">
|
||||
${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines_unclear)}${_("items")}
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_debits_lines_unclear)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col">
|
||||
${formatLang(rec.sum_of_debits_unclear, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -255,7 +255,7 @@
|
||||
<td>
|
||||
</td>
|
||||
<td class="cell col_header col_header_third" colspan="4">
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines_unclear)}${_("items")}
|
||||
${_("Cheques and Debits")}${" - %s " % int(rec.sum_of_credits_lines_unclear)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col line_sum">
|
||||
${formatLang(-rec.sum_of_credits_unclear, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell third_line left_col">
|
||||
${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines)}${_("items")}
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_debits_lines)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col_sum">
|
||||
${formatLang(rec.sum_of_debits, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell third_line left_col">
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines)}${_("items")}
|
||||
${_("Cheques and Debits")}${" - %s " % int(rec.sum_of_credits_lines)}${_("items")}
|
||||
</td>
|
||||
<td class="cell line_sum right_col_sum">
|
||||
${formatLang(-rec.sum_of_credits, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -123,7 +123,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell third_line left_col">
|
||||
${_("Cheques and Payments")}${" - %s " % int(rec.sum_of_debits_lines_unclear)}${_("items")}
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_debits_lines_unclear)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col_sum">
|
||||
${formatLang(rec.sum_of_debits_unclear, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
@@ -131,7 +131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cell third_line left_col">
|
||||
${_("Deposits and Credits")}${" - %s " % int(rec.sum_of_credits_lines_unclear)}${_("items")}
|
||||
${_("Cheques and Debits")}${" - %s " % int(rec.sum_of_credits_lines_unclear)}${_("items")}
|
||||
</td>
|
||||
<td class="cell right_col_sum line_sum">
|
||||
${formatLang(-rec.sum_of_credits_unclear, monetary=True, currency_obj=rec.company_id.currency_id)}
|
||||
|
||||
Reference in New Issue
Block a user