mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_disable_export_group: Migration to 15.0
TT43531
This commit is contained in:
12
web_disable_export_group/static/src/xml/export_xls_views.xml
Normal file
12
web_disable_export_group/static/src/xml/export_xls_views.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<templates>
|
||||
|
||||
<t t-extend="ListView.buttons">
|
||||
<t t-jquery="t[t-if*='widget.isExportEnable']" t-operation="attributes">
|
||||
<attribute
|
||||
name="t-if"
|
||||
>widget.is_action_enabled('export_xlsx') and widget.isExportXlsEnable</attribute>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user