diff options
| author | Ivan Yelizariev <iel@odoo.com> | 2021-05-11 07:24:14 +0000 |
|---|---|---|
| committer | Ivan Yelizariev <iel@odoo.com> | 2021-05-17 08:48:48 +0000 |
| commit | 09da295fd8a5f4f40178b83e9c4e86bcc9a9bc28 (patch) | |
| tree | 9c35f4ee3e5f0cbb3f7101f2bc6f75bdb379dc30 /MANIFEST.in | |
| parent | 7f9cacd40d185bb7c943bd2adb7de1ef8a39c367 (diff) | |
[FIX] purchase: speed up search for purchase_vendor_bill_id
When partner is not selected, Odoo sends name_search request
`[..., ('partner_id', 'child_of', [False])]`. It's not obvious what does such
domain mean ( see #70584 ). This commit clarifies what do we expect to get:
we want all records without restrictions on `partner_id` value.
This also fixes performance issue because domain leaf `('partner_id',
'child_of', [False])` is converted to where-clause `<table>.partner_id in <all
or almost all ids>`
---
opw-2524010
closes odoo/odoo#70842
X-original-commit: 39e0f1fb0f60f309be7f65562911b1236167dce7
Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions
