[IMP] res.partner: more selective child_of _search() hack
authorOlivier Dony <odo@openerp.com>
Thu, 30 Jan 2014 16:24:19 +0000 (17:24 +0100)
committerOlivier Dony <odo@openerp.com>
Thu, 30 Jan 2014 16:24:19 +0000 (17:24 +0100)
commit7e6be99a632070f4ead17e94641a1313d26e2dd4
tree23ee401e67fe5992a39d616e75f6b21603ce0ea9
parentc3c0705203e5e71b96fa42b55deda48eb573bb5c
[IMP] res.partner: more selective child_of _search() hack

Makes the conditions for disabling the `active` test
on res.partner.search() more selective, to avoid
triggering it when we are not actually searching for
the children of specific parents.
(Broke base tests now that data includes an deactivated
partner)

bzr revid: odo@openerp.com-20140130162419-09tit4cyef570aze
openerp/addons/base/res/res_partner.py