Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
826 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 24
1150
1
feb. 23
3166
0
jul. 25
219
0
jul. 24
1003
1
jun. 24
4429