mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: function _get_partner_contract_domain of res.partner
This commit is contained in:
@@ -22,7 +22,6 @@ class ResPartner(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def _get_partner_contract_domain(self):
|
def _get_partner_contract_domain(self):
|
||||||
self.ensure_one()
|
|
||||||
return [("partner_id", "child_of", self.ids)]
|
return [("partner_id", "child_of", self.ids)]
|
||||||
|
|
||||||
def _compute_contract_count(self):
|
def _compute_contract_count(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user