Skip to Content
Menú
This question has been flagged
1 Respondre
9186 Vistes

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

Avatar
Descartar
Best Answer

Hi

Try this code

 

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

This code remove create,write and delete button

 

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
2
de des. 23
12064
3
de jul. 22
22278
2
de juny 21
18027
0
de set. 20
3349
0
de maig 16
3739