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

I am using Odoo 11.

Is there a way to define an header section in tree views, so that it's possible to add buttons and stuff before the actual table?

The question has already been posed (https://www.odoo.com/fr_FR/forum/aide-1/question/how-do-you-add-a-header-in-a-tree-view-23623), but it's a 5-years-old question and the only answer doesn't seem to really address the specific need defined in the title.

I'd appreciate both a generalized solution (which builds on the existing basic odoo models and thus modifies all treeviews indiscriminately) or a specific one (which makes an header section just for a given view).

Is there a way to accomplish something similar in Odoo11?

Thank you in advance.

الصورة الرمزية
إهمال
أفضل إجابة

Hi ,
Daniele Morelli Please refer this:

https://supportuae.wordpress.com/2017/09/06/how-to-add-button-in-tree-view-header-near-create-and-import-buttons-odoo10/

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

Thank you, it seems to work!

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 22
26545
1
أغسطس 19
3755
2
يوليو 22
8990
2
مايو 22
3495
1
أغسطس 21
6590