Skip to content

Commit

Permalink
[IMP] account_statement_import_coda: fix communication label
Browse files Browse the repository at this point in the history
  • Loading branch information
marielejeune committed Feb 2, 2022
1 parent 13171f9 commit 1a65ddf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions account_statement_import_coda/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ msgstr ""

#. module: account_statement_import_coda
#: model_terms:ir.ui.view,arch_db:account_statement_import_coda.account_statement_import_view
msgid "Coded statement of account (.coda)"
msgstr "Relev?? de compte cod?? (.coda)"
msgid "Coded statement of account (.coda or .CD2)"
msgstr "Relev?? de compte cod?? (.coda ou .CD2)"

#. module: account_statement_import_coda
#: code:addons/account_statement_import_coda/wizard/account_statement_import_coda.py:154
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def get_st_line_vals(self, line, globalisation_dict, information_dict):
"name": self.get_st_line_name(line, globalisation_dict),
"date": line.entry_date or datetime.datetime.now().date(),
"amount": amount,
"payment_ref": line.ref,
"payment_ref": line.communication or line.ref,
"ref": line.ref,
"partner_name": line.counterparty_name or None,
"account_number": line.counterparty_number or None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/>
<field name="arch" type="xml">
<xpath expr="//ul[@id='statement_format']" position="inside">
<li>Coded statement of account (.coda)</li>
<li>Coded statement of account (.coda or .CD2)</li>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 1a65ddf

Please sign in to comment.