Skip to Content
Menu
This question has been flagged
1 Atsakyti
2195 Rodiniai
/** @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);


Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 24
6824
3
liep. 25
1961
1
birž. 25
2280
2
geg. 25
1957
1
geg. 25
1182