İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1003 Görünümler

There is an error showing if we try to access the upgraded test database. Raised a ticket and haven't received assistance as yet.    

"The following modules are needed by other modules but they have not been defined and may not be present in the correct asset bundle"
web.rpc



Avatar
Vazgeç
En İyi Yanıt

Hi,

You can add the following code in your js file instead of web.rpc in odoo 17.


import { useService } from "@web/core/utils/hooks";

      setup() {

         super.setup();

         this.rpc = useService("rpc");

     }


Hope it helps

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 24
1371
1
Şub 23
3496
0
Tem 25
410
0
Tem 24
1213
1
Haz 24
4655