Merge PR #733 into 15.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2024-10-29 11:31:35 +00:00
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class AccountMoveLine(models.Model):
"amount": amount,
"partner_id": self.partner_id.id,
"statement_id": statement.id,
"payment_ref": self.ref,
"payment_ref": self.ref or self.name,
"date": self.date_maturity,
"currency_id": self.currency_id.id,
}

View File

@@ -37,7 +37,6 @@ class TestAccountBankStatementImportMoveLine(TransactionCase):
"partner_id": cls.partner.id,
"move_type": "out_invoice",
"journal_id": cls.journal.id,
"ref": "Test",
"invoice_line_ids": [
(
0,