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

how to disable/hide the import  button for certain models in odoo 8?

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

Hi,

You can use import=false

i.e <tree import = false></tree>

Thank You..

อวตาร
ละทิ้ง
ผู้เขียน

Thanks for your Answer.But it is not working.

<tree import ="false">

คำตอบที่ดีที่สุด

Use this module to hide the import button. It will be available above v12 in default Odoo.

eg: <tree import="false">

https://apps.odoo.com/apps/modules/11.0/display_import_button/

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

you can try with create="false" in tree tag.  like <tree create="false">

import="false" doesn't work in Odoo V8.

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

Hii,

You will try this

<tree import="false">
</tree>
อวตาร
ละทิ้ง
ผู้เขียน

yes,I Tried this but still not working.

for me its working fine.!

Related Posts ตอบกลับ มุมมอง กิจกรรม
Selecting items for one2many relation แก้ไขแล้ว
2
ธ.ค. 22
14631
1
พ.ย. 21
4735
0
ม.ค. 21
2183
0
ธ.ค. 23
2834
1
พ.ค. 19
4224