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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
12152
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
5
mar 25
|
2924 | ||
|
1
feb 25
|
1434 | ||
|
1
feb 24
|
2828 | ||
|
2
jul 25
|
466 | ||
|
1
may 25
|
1257 |