Hello there
I need to place a div between the divs o_control_panel and o_content.
I managed to place it inside the content-div before the renderer using this inherit:
{ t t-inherit="web.KanbanRenderer" t-inherit-mode="extension" owl="1" }
{ xpath expr="//div[hasclass('o_kanban_renderer', 'o_renderer', 'd-flex')]" position="before" }
{ div } The Div Content { /div }
{ /xpath }
{ /t }
My problem with this is that I would have to add it to treeview, too. And that the content-div has height-scrolling-issues after adding the new div that i would have to fix in css.
A better Idea would be to place the new div between the control-panel and content. I tried this, but it doesnt work.
{ t t-inherit="web.ControlPanel" t-inherit-mode="extension" owl="1" }
{ xpath expr="//div[hasclass('o_control_panel')]" position="after" }
{ div } The Div Content { /div }
{ /xpath }
{ /t }
How can i inherit the ControlPanel (or web.ControlPanel.Regular)? What am I doing wrong?
Thanks & Best regards