diff --git a/web_pwa_oca/static/description/index.html b/web_pwa_oca/static/description/index.html index 7f8ff10b0..7bc12814a 100644 --- a/web_pwa_oca/static/description/index.html +++ b/web_pwa_oca/static/description/index.html @@ -464,7 +464,7 @@ need to use the following workaround:
var MyClass = OdooClass.extend({ myFunc: function() { - return new Promise(async (resolve, reject) => { + return new Promise(async (resolve, reject) => { const mydata = await ...do await stuff... return resolve(mydata); });