[FIX] spreadsheet: throw loading when additinal field is fetched

Part-of: odoo/odoo#97606
This commit is contained in:
Lucas Lefèvre
2022-09-10 02:54:52 +02:00
parent 2c06b1dd68
commit 5f826b2b69
@@ -109,7 +109,7 @@ export default class ListDataSource extends OdooViewsDataSource {
this._metaData.columns.push(fieldName);
this._metaData.columns = [...new Set(this._metaData.columns)]; //Remove duplicates
this._triggerFetching();
return undefined;
throw new LoadingDataError();
}
switch (field.type) {
case "many2one":