v 8.0 v 9.0 v 11.0 v 12.0 Third Party 17117
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 178
Technical Name web_export_view
LicenseAGPL-3
Websitehttps://github.com/OCA/web
Versions 8.0 9.0 11.0 12.0
You bought this module and need support? Click here!

Web Export Current View

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

One of the best Odoo’s features is exporting custom data to CSV/XLS. You can do it by clicking on the export link in the sidebar. The export action allows us to configure what to be exported by selecting fields, etc, and allows you to save your export as a template so that you can export it once again without having to configure it again.

That feature is as great and advanced as limited for an everyday experience. A lot of customers want simply to export the tree view they are looking to.

If you miss this feature as us, probably you’ll find an answer into our web_export_view module.

Table of contents

Configuration

If we wanted to disallow users to use the features provided by this module, we can add them to the group Disallow Export View Data to Excel.

Usage

After you installed it, you’ll find an additional link ‘Export current view’ right on the sidebar. By clicking on it you’ll get a XLS file contains the same data of the tree view you are looking at, headers included.

Known issues / Roadmap

Pedro M. Baeza (pedro.baeza@tecnativa.com): When you have groups, they are not exported to Excel. It would be desirable to have this option. One of the problems with this module is that you can’t export data from a view with mode=”tree”. Changing the approach to have the button always visible (we should relocate it also to another place, as the current location is not visible for these views), and digging correctly in the DOM elements for this view (very similar to the normal tree view one) will do the trick. This will also help users to locate the feature, as it’s hidden now by default and users don’t think about selecting records. The behavior will be: nothing selected > you export all (including groups). Something or all selected: export the selection.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Henry Zhou
  • Agile Business Group

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/web project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
ERROR
by
CARLOS RODRIGUEZ FAJARDO
on 12/12/19, 2:08 PM

Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. undefined


not working
by
DEEMiT
on 10/12/19, 9:53 AM

Error: Uncaught Error: QWeb2: Template 'WebExportTreeViewXls' not found http://localhost:8069/web/content/584-61155c6/web.assets_common.js:3689 Traceback: Error: QWeb2: Template 'WebExportTreeViewXls' not found at Object.exception (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:3689:7) at Engine._render (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:3734:103) at Engine.render (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:3730:151) at Object. (http://localhost:8069/web/content/680-6cd65e3/web.assets_backend.js:2615:542) at Object. (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:802:681) at fire (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:796:299) at Object.fireWith [as resolveWith] (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:801:198) at Object.deferred. (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:803:56) at fire (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:796:299) at Object.fireWith [as resolveWith] (http://localhost:8069/web/content/584-61155c6/web.assets_common.js:801:198)


after installing in odoo v11 CE
by
alexander chevka
on 8/21/19, 12:32 AM

Error: Uncaught Error: QWeb2: Template 'WebExportTreeViewXls' not found http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:3689 Traceback: Error: QWeb2: Template 'WebExportTreeViewXls' not found at Object.exception (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:3689:7) at Engine._render (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:3734:103) at Engine.render (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:3730:151) at Object. (http://tempatservice.com:8069/web/content/367-fa8bb42/web.assets_backend.js:2657:542) at Object. (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:802:681) at fire (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:796:299) at Object.fireWith [as resolveWith] (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:801:198) at Object.deferred. (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:803:56) at fire (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:796:299) at Object.fireWith [as resolveWith] (http://tempatservice.com:8069/web/content/308-4b68808/web.assets_common.js:801:198)