Skip to content

Commit

Permalink
[FIX] account_invoice_last_payment: wrong field name
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Jan 23, 2025
1 parent 76e0cd0 commit 408a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_invoice_last_payment/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AccountMove(models.Model):
store=True,
)

@api.depends("line_ids", "payment_status")
@api.depends("line_ids", "payment_state")
def _compute_last_payment_date(self):
for move in self:
if not move.is_invoice():
Expand Down

0 comments on commit 408a062

Please sign in to comment.