diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2021-03-29 13:18:31 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2021-04-19 08:41:14 +0000 |
| commit | f1a5ad5f20bf1b885a3c2dc2248b8fb15b2d6565 (patch) | |
| tree | 66b5ccba1b5dc68e0dc5de7812248ce387365854 /addons/web | |
| parent | 8fe9f552ed4591795b449f4d1e32e1563ce43ca2 (diff) | |
[FIX] base: avoid infinite recursion on attachments search
Have a large number of attachments with res_field set
Then go to Settings -> Technical -> Attachments -> add a filter "Res
Field" is set.
You will have traceback. This occur because the `_search` function will
omit from results records with res_field set, forcing recursive calls
until either we scan the whole table (80 records at a time) or we hit
max recursion limit
opw-2463634
closes odoo/odoo#69443
X-original-commit: 08fb44a1f8af9684c28c0dd5e82121193d9bef9a
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
