Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
884 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 24
1241
1
Feb. 23
3262
0
Juli 25
320
0
Juli 24
1074
1
Juni 24
4483