Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9642 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 23
12818
3
ก.ค. 22
23194
2
มิ.ย. 21
18611
0
ก.ย. 20
3747
0
พ.ค. 16
4174