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

I want to hide Send&Print in invoice after first click.

https://imgur.com/a/dIENr8O


아바타
취소
베스트 답변

Give one Boolean field 

field_name = fields.Boolean('Hide Button')

and add in the form view also and make invisible.

Then on that button function pass that field_name value as True.

In the form view of that button add the attrs condition for invisible as field_name as True

Then it will hide after first clcik

아바타
취소
작성자

sorry i don’t understand programming.

would be nice if you can provide me copy and paste text