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

Hi,

by adding form in your one2many field like this


<fields name="your_field">

<form>

write your fields

.

.

.

.


</form>

</field>

아바타
취소
베스트 답변

use the concept of context like:

pass the context in the form view:

<field name="an_one2many_field_ids"  context="{'only_with_tree': true}">

collect the context in the tree view for  specific fields:

 <field name="my_fields" invisible="context.get('only_with_tree', false)"/>

hope this may hep in your case.


아바타
취소