Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
827 Vizualizări

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



Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
ian. 24
1150
1
feb. 23
3168
0
iul. 25
220
0
iul. 24
1003
1
iun. 24
4429