Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6245 Vistas

In the next example, it's possible to change active="True" on template id="b" when template id="a" is activated on the web interface?

template id="a" inherit_id="x" active="False" customize_show="True"
...
</template>
<template id="b" inherit_id="y" active="False">
...
</template>
Avatar
Descartar
Mejor respuesta

 <template> tags get translated into regular views (ir.ui.view).

If you want to disable the view you can use a <record> tag to achieve this like so:


<record id="full_external_id_of_the_template" model="ir.ui.view">
        <field name="active" eval="False"/>
</record>
Avatar
Descartar
Autor

Thank you for your answer. I will try it. Regards Paul.

Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 18
5034
0
ene 25
546
0
abr 24
1305
4
nov 23
5297
0
oct 23
996