跳至内容
菜单
此问题已终结
1 回复
8879 查看

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
11824
3
7月 22
21942
2
6月 21
17732
0
9月 20
3127
0
5月 16
3456