跳至內容
選單
此問題已被標幟
1 回覆
8315 瀏覽次數

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
3月 22
26567
1
8月 19
3767
2
7月 22
9005
2
5月 22
3509
1
8月 21
6609