Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2068 Представления
/** @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);


Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июл. 24
6618
3
июл. 25
1837
1
июн. 25
1918
2
мая 25
1805
1
мая 25
1068