/** @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);
Denna fråga har flaggats
1
Besvara
3963
Vyer
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.
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
juli 24
|
9563 | ||
|
|
0
apr. 26
|
8 | ||
|
|
0
apr. 26
|
20 | ||
|
|
3
juli 25
|
4879 | ||
|
|
1
juni 25
|
8035 |