Before this revision, the callback passed to the constructor of BatchEndpoint which should be called when there is an error when fetching data was not called. Part of task-id 2928601 X-original-commit: 6b4d5e4274c7644f9fda40c96f6b08a6bfd9ff37 Part-of: odoo/odoo#108527