diff options
| author | pka-odoo <pka@odoo.com> | 2020-05-04 09:07:20 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-04 14:31:11 +0000 |
| commit | 067e8c88fe12a29fe8d87ba35a892f1c36a01e2e (patch) | |
| tree | 1936db1b9ec34ecaaf207cf85e945033b77c64b4 /addons/web/static/src/js/views/list | |
| parent | c80fa71adbb2410b4ed5328f9093502969ff02bb (diff) | |
[IMP] web: hide export button when selected records
Part of task 2234547
Co-authored-by: Mohammed Shekha <msh@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/list')
| -rw-r--r-- | addons/web/static/src/js/views/list/list_controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/list/list_controller.js b/addons/web/static/src/js/views/list/list_controller.js index 5dc5515173e..110fab8e897 100644 --- a/addons/web/static/src/js/views/list/list_controller.js +++ b/addons/web/static/src/js/views/list/list_controller.js @@ -812,6 +812,7 @@ var ListController = BasicController.extend({ this.selectedRecords = ev.data.selection; this.isPageSelected = ev.data.allChecked; this.isDomainSelected = false; + this.$('.o_list_export_xlsx').toggle(!this.selectedRecords.length); this._updateSelectionBox(); this._updateControlPanel(); }, |
