[FIX] account_move_last_payment fix pre-commit
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m40s
tests / test (pull_request) Successful in 2m7s

This commit is contained in:
2026-11-03 15:02:38 +01:00
parent 54bb9f0788
commit 568f49c784
5 changed files with 9 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ class AccountMove(models.Model):
"invoice, whatever the reconciliation path (explicit payment "
"or direct bank statement line reconciliation).",
)
preferred_payment_method_line_id = fields.Many2one(string="Planned Payment Method")
@api.depends(
@@ -68,4 +68,4 @@ class AccountMove(models.Model):
dates.append(payment.date)
elif counterpart_line.move_id.statement_line_id:
dates.append(counterpart_line.move_id.date)
return dates
return dates