Skip to content

Commit

Permalink
Merge PR #3284 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 31, 2023
2 parents efeb832 + a97a92a commit 3bd5a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ def test_import_n43(self):
self.assertAlmostEqual(statement.balance_start, 0, 2)
self.assertAlmostEqual(statement.balance_end, 101.96, 2)
self.assertEqual(statements[0].partner_id, self.partner)
self.assertEqual(statements[0].ref, "000975737917")
self.assertEqual(statements[1].ref, "/")
self.assertEqual(statements[2].ref, "5540014210128010")

def test_import_n43_fecha_oper(self):
self.journal.n43_date_type = "fecha_oper"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ def _parse_single_file_n43(self, n43):
"payment_ref": " ".join(conceptos)
or self._get_n43_ref(line)
or "/",
"ref": self._get_n43_ref(line),
"amount": line["importe"],
# inject raw parsed N43 dict for later use, that will be
# removed before passing final values to create the record
Expand Down

0 comments on commit 3bd5a94

Please sign in to comment.