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

I have been developing module for OpenERP-7. I wanted to know that how can I disable create/delete button for specific function. Like I am clicking on a button to open a tree view. All I want is to disable the create button form top of that tree view. How can I achieve this in OpenERP. I dont have any other ml view for this tree view. I am calling the only tree view. But this time I dont need the create/discard button. Can anyone guide me how to do this. Hopes for suggestion and guidance

아바타
취소
베스트 답변

Hi

Try this code

 

<tree string="Your Tree view name" edit="false" create="false" delete="false">

This code remove create,write and delete button

 

아바타
취소
작성자

But this will remove create/delete button from every tree view of the model. I just want to disable them when coming through my specific button

관련 게시물 답글 화면 활동
2
12월 23
12818
3
7월 22
23194
2
6월 21
18611
0
9월 20
3747
0
5월 16
4174