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

I am working with Odoo v12 and I need to hide the "import" button in a tree view but keeping the create button.

I have tried so far with . But the import button is still show.

How can I hide the import button?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

To block importing of records, You can just give import="0" or import="false" in the tree view xml code. 

Example:

<tree string="Sales details" import="0">


           ............


</tree>


Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 24
10576
Highlight Records in Tree แก้ไขแล้ว
3
พ.ค. 23
1795
How do you add a header in a tree view? แก้ไขแล้ว
2
พ.ค. 25
30631
1
ก.ย. 18
10348
0
มี.ค. 17
2310