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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
12155
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
5
मार्च 25
|
2936 | ||
|
1
फ़र॰ 25
|
1441 | ||
|
1
फ़र॰ 24
|
2837 | ||
|
2
जुल॰ 25
|
475 | ||
|
1
मई 25
|
1261 |