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

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 24
10785
3
مايو 23
1907
2
مايو 25
30851
1
سبتمبر 18
10502
0
مارس 17
2479