diff options
| author | Raphael Collet <rco@odoo.com> | 2019-12-03 13:33:58 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-12-04 08:46:08 +0000 |
| commit | 51d020e5fa82ca4d935fe2420711b8365b5e5621 (patch) | |
| tree | 96ef3c59f0c3ea6a7bc08e776b2b7c45ff1a9fc7 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | bf250a33f0aca36f1c354d163219680fc504931a (diff) | |
[FIX] models: query blowup when unlinking many records
The method `unlink` checks whether any of the records to delete is used
as the default value of a company-dependent field. The query simply
blows up when deleting several millions of records. The fix consists in
performing the check in batches.
closes odoo/odoo#41331
X-original-commit: 30e8b8f2554e5d16b19f16ea90e3503098dc98a0
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
