mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: fix an obvious crash when self is a multi-recordset
This commit is contained in:
committed by
Jean-Charles Drubay
parent
5add2e225f
commit
a60709e1bd
@@ -24,7 +24,6 @@ class ResPartner(models.Model):
|
||||
)
|
||||
|
||||
def _get_partner_contract_domain(self):
|
||||
self.ensure_one()
|
||||
return [("partner_id", "child_of", self.ids)]
|
||||
|
||||
def _compute_contract_count(self):
|
||||
|
||||
Reference in New Issue
Block a user