Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6560 Widoki

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>
Awatar
Odrzuć
Najlepsza odpowiedź

 <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>
Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
paź 18
5298
0
sty 25
1018
0
kwi 24
1796
4
lis 23
5840
0
paź 23
1633