Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1835 Lượt xem
/** @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);


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 24
6395
3
thg 7 25
1502
1
thg 6 25
1467
2
thg 5 25
1457
1
thg 5 25
771