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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
ก.ค. 25
|
11873 | ||
|
Highlight Records in Tree
แก้ไขแล้ว
|
|
3
พ.ค. 23
|
2834 | |
|
How do you add a header in a tree view?
แก้ไขแล้ว
|
|
2
พ.ค. 25
|
32319 | |
|
|
1
ก.ย. 18
|
11631 | ||
|
|
0
มี.ค. 17
|
3519 |