From 7cd5b754f3b978a34676337506af5f0eb9aa8220 Mon Sep 17 00:00:00 2001 From: ronozoro Date: Thu, 3 Oct 2024 05:11:32 -0700 Subject: [PATCH] fix func name --- odex25_accounting/exp_budget_check/models/account_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_accounting/exp_budget_check/models/account_invoice.py b/odex25_accounting/exp_budget_check/models/account_invoice.py index 29d6ceff7..1739c8afe 100644 --- a/odex25_accounting/exp_budget_check/models/account_invoice.py +++ b/odex25_accounting/exp_budget_check/models/account_invoice.py @@ -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