Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8910 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
dic 23
11845
3
lug 22
21979
2
giu 21
17748
0
set 20
3140
0
mag 16
3477