Merge PR #365 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2021-02-05 06:45:32 +00:00
2 changed files with 7 additions and 7 deletions

View File

@@ -1030,9 +1030,9 @@ class AccountReconciliation(models.AbstractModel):
data = {
"id": st_line.id,
"ref": st_line.ref,
# FIXME: where to fill?
# 'note': st_line.note or "",
"narration": st_line.narration or "",
"name": st_line.name,
"payment_ref": st_line.payment_ref,
"date": format_date(self.env, st_line.date),
"amount": amount,
"amount_str": amount_str, # Amount in the statement line currency

View File

@@ -149,8 +149,8 @@
/></td>
<td class="cell_due_date"><t t-esc="state.st_line.date" /></td>
<td class="cell_label"><t
t-if="state.st_line.name"
t-esc="state.st_line.name"
t-if="state.st_line.payment_ref"
t-esc="state.st_line.payment_ref"
/> <t t-if="state.st_line.amount_currency_str"> (<t
t-esc="state.st_line.amount_currency_str"
/>)</t></td>
@@ -562,15 +562,15 @@
<tr t-if="state.st_line.ref"><td>Transaction</td><td><t
t-esc="state.st_line.ref"
/></td></tr>
<tr><td>Description</td><td><t t-esc="state.st_line.name" /></td></tr>
<tr><td>Description</td><td><t t-esc="state.st_line.payment_ref" /></td></tr>
<tr><td>Amount</td><td><t t-raw="state.st_line.amount_str" /><t
t-if="state.st_line.amount_currency_str"
> (<t t-esc="state.st_line.amount_currency_str" />)</t></td></tr>
<tr><td>Account</td><td><t t-esc="state.st_line.account_code" /> <t
t-esc="state.st_line.account_name"
/></td></tr>
<tr t-if="state.st_line.note"><td>Note</td><td style="white-space: pre;"><t
t-esc="state.st_line.note"
<tr t-if="state.st_line.narration"><td>Note</td><td style="white-space: pre;"><t
t-esc="state.st_line.narration"
/></td></tr>
</table>
</t>