mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_disable_export_group: Migration to 16.0
TT45881
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<templates>
|
||||
|
||||
<t t-extend="ListView.buttons">
|
||||
<t t-jquery="t[t-if*='widget.isExportEnable']" t-operation="attributes">
|
||||
<t
|
||||
t-name="web.ListView.Buttons.disbaleExport"
|
||||
t-inherit="web.ListView.Buttons"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//t[contains(@t-if, 'isExportEnable')]" position="attributes">
|
||||
<attribute
|
||||
name="t-if"
|
||||
>widget.is_action_enabled('export_xlsx') and widget.isExportXlsEnable</attribute>
|
||||
</t>
|
||||
>nbTotal and !nbSelected and activeActions.exportXlsx and isExportXlsEnable and !env.isSmall</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user