/** @odoo-module */
import { Component } from "@odoo/owl";
import { registry } from "@web/core/registry"
export class YourComponent extends Component {
static template = "your_module.YourComponent";
static props = {};
}
registry.category("public_components").add("your_module.YourComponent", YourComponent);
Se marcó esta pregunta
1
Responder
3921
Vistas
Hi,
There is no error the code you mentioned, if the error still exists try clearing your browser cache and restarting the Odoo server. Ensure that your module is properly declared in the __manifest__.py file and that it includes any necessary dependencies.
Hope it helps.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
jul 24
|
9530 | ||
|
|
0
abr 26
|
8 | ||
|
|
0
abr 26
|
20 | ||
|
|
3
jul 25
|
4842 | ||
|
|
1
jun 25
|
7983 |