Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2783 Visualizzazioni
/** @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);


Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 24
8045
3
lug 25
2844
1
giu 25
4586
2
mag 25
2786
1
mag 25
1839