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

Hi, 

What is the usage of the tree view attribute  'import="false" already used in some tree view declaration, Im wondering if it can be used to hide the import Button in tree views

Ex from odoo view declaration.

<tree editable="top" string="Timesheet Activities" import="false">
الصورة الرمزية
إهمال
أفضل إجابة

Hi,

This attribute does not work by default.

I you want to use it, I think this module can Help you: 

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

With This, we can use "import" attribute  on your tree and kanban views like this: 

<tree import="false">....


الصورة الرمزية
إهمال
الكاتب

Thank your for this useful module.

That is not possible with odoo 12. when i add attributes: create = 'false' in tree view, both CREATE and IMPORT BUTTON is invisbile.

How can hide only IMPORT BUTTON. thanks guy

I'm not sure that you use the right version. For Odoo 12, please download version 12 of the module:

https://www.odoo.com/apps/modules/12.0/display_import_button/

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 19
8546
2
يونيو 22
2837
3
نوفمبر 19
18324
2
يوليو 18
10202
0
يوليو 17
4439