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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
12174
Görünümler
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
5
Mar 25
|
2990 | ||
|
1
Şub 25
|
1466 | ||
|
1
Şub 24
|
2858 | ||
|
2
Tem 25
|
503 | ||
|
1
May 25
|
1286 |