/** @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);
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
2089
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
7月 24
|
6633 | ||
|
3
7月 25
|
1842 | ||
|
1
6月 25
|
1945 | ||
|
2
5月 25
|
1823 | ||
|
1
5月 25
|
1087 |