Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6573 Zobrazení

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
Zrušit
Nejlepší odpověď

 <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
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
říj 18
5319
0
led 25
1033
0
dub 24
1820
4
lis 23
5853
0
říj 23
1662