/** @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);
Cette question a été signalée
1
Répondre
3936
Vues
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.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
juil. 24
|
9542 | ||
|
|
0
avr. 26
|
8 | ||
|
|
0
avr. 26
|
20 | ||
|
|
3
juil. 25
|
4847 | ||
|
|
1
juin 25
|
7985 |