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

Hello everyone,

I have 2 fields, a Boolean field in parent module and a float field in line module so, how to hide line field when parent boolean field is true(selected).

아바타
취소

Hi,

In line- you mean a float field inside a one2many field ??

작성자

yes

작성자

boolean field available in purchase order module and float field available in purchase order line. i want that float field hide when boolean field is selected

베스트 답변

Hi,

    You can try with attrs in the float field in xml,

In tree view of the one2many field,

<field name="float_field" attrs="{'column_invisible': [('parent.boolean_field', '!=', False)]}"

Hope it helps,

Thanks.

아바타
취소
작성자

Uncaught Error: Unknown field parent.x_use_global_tax in domain [["parent.x_use_global_tax","!=",false]]

this error is showing

작성자

please give me solution for odoo v10