mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_filter_header_button: custom view compatibility
In custom views, like the reconciliation one, that use the control panel we must prevent loading the FilterButton component. TT49664
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<templates>
|
<templates>
|
||||||
<t t-inherit="web.Legacy.ControlPanel" t-inherit-mode="extension" owl="1">
|
<t t-inherit="web.Legacy.ControlPanel" t-inherit-mode="extension" owl="1">
|
||||||
<xpath expr="//div[hasclass('o_cp_bottom')]" position="after">
|
<xpath expr="//div[hasclass('o_cp_bottom')]" position="after">
|
||||||
<t t-if="env.view.type !== 'form'">
|
<t t-if="env.view and env.view.type !== 'form'">
|
||||||
<FilterButton />
|
<FilterButton />
|
||||||
</t>
|
</t>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
Reference in New Issue
Block a user