/** @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);
Această întrebare a fost marcată
1
Răspunde
3951
Vizualizări
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.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
iul. 24
|
9553 | ||
|
|
0
apr. 26
|
8 | ||
|
|
0
apr. 26
|
20 | ||
|
|
3
iul. 25
|
4866 | ||
|
|
1
iun. 25
|
8026 |