fix func name
This commit is contained in:
parent
df2769b7b9
commit
7cd5b754f3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue