This addon allows to create SQL views on the database. It also features a simple CSV export of the views to check their result.
To create new SQL views, you need to go to Settings > Technical > Database Structure > SQL Views.
Give a view a human name, a SQL name (which will be prefixed with sql_view_ in the database, and the definition of the view itself (without trailing semicolon).
Known issues / Roadmap
The CSV preview can be used to read any data on the database. So this menu must be accessible only by allowed admin users. By default, the module is configured to be accessible only by users having the Settings administration level.
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 smashing it by providing a detailed and welcomed feedback here.
- Guewen Baconnier <firstname.lastname@example.org>
This module is maintained by the OCA.
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.
To contribute to this module, please visit http://odoo-community.org.
Once the user has seen at least one product this snippet will be visible.