تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
8 الردود
7986 أدوات العرض

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.!

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 22
14979
1
نوفمبر 21
5103
0
يناير 21
2403
0
ديسمبر 23
3023
1
مايو 19
4471