account_reconciliation_widget: note -> narration on bank statement lines

This commit is contained in:
Alexis de Lattre
2021-02-04 22:17:41 +01:00
committed by kelvzxu
parent d5b4cbe393
commit 6000982a57
2 changed files with 3 additions and 4 deletions

View File

@@ -1030,8 +1030,7 @@ 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),

View File

@@ -569,8 +569,8 @@
<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>