Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
858 Переглядів

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



Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
січ. 24
1216
1
лют. 23
3232
0
лип. 25
308
0
лип. 24
1057
1
черв. 24
4462