From 8866798fd8610ae9948c31768ec23fcb01b70917 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sat, 14 Jan 2023 12:40:38 +0000 Subject: [PATCH] [UPD] README.rst --- web_pwa_oca/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);
         });