コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
6602 ビュー

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>
アバター
破棄
最善の回答

 <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>
アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
10月 18
5369
0
1月 25
1083
0
4月 24
1852
4
11月 23
5936
0
10月 23
1707