I use an owl component on the portal site, is it possible to have props at this level:
<owl-component name="your_module.YourComponent" PROP_X="xxxx"/>
<odoo> <template id="your_module.portal_my_home" inherit_id="portal.portal_my_home"> <xpath expr="//*[hasclass('o_portal_my_home')]" position="before"> <owl-component name="your_module.YourComponent" /> </xpath> </template> </odoo>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
12173
Widoki
Hi,
You can use the props like the below code:
<odoo>
<template id="your_module.portal_my_home" inherit_id="portal.portal_my_home">
<xpath expr="//*[hasclass('o_portal_my_home')]" position="before">
<owl-component name="your_module.YourComponent" props='{"": ""]"}'/>
</xpath>
</template>
</odoo>
Hope it helps
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
5
mar 25
|
2988 | ||
|
1
lut 25
|
1464 | ||
|
1
lut 24
|
2858 | ||
|
2
lip 25
|
500 | ||
|
1
maj 25
|
1286 |