fix func name

This commit is contained in:
ronozoro 2024-10-03 05:11:32 -07:00
parent df2769b7b9
commit 7cd5b754f3
No known key found for this signature in database
GPG Key ID: 7C2BDED35C62C0F3
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class AccountMove(models.Model):
def _compute_rec_payment_count(self):
for invoice in self:
payments = self.env['account.payment'].seach_count([
payments = self.env['account.payment'].search_count([
('invoice_rec_id', '=', invoice.id)
])
invoice.rec_payment_count = payments