콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6128 화면

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
4946
0
1월 25
401
0
4월 24
1078
4
11월 23
5029
0
10월 23
800