Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2381 Ansichten
/** @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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 24
7164
3
Juli 25
2375
1
Juni 25
3289
2
Juni 25
2325
1
Mai 25
1443