diff --git a/sql_export/README.rst b/sql_export/README.rst index 129df0268..a641cdbe5 100644 --- a/sql_export/README.rst +++ b/sql_export/README.rst @@ -17,13 +17,13 @@ SQL Export :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github - :target: https://github.com/OCA/reporting-engine/tree/17.0/sql_export + :target: https://github.com/OCA/reporting-engine/tree/18.0/sql_export :alt: OCA/reporting-engine .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-sql_export + :target: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-sql_export :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -77,7 +77,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -128,6 +128,6 @@ Current `maintainer `__: |maintainer-legalsylvain| -This module is part of the `OCA/reporting-engine `_ project on GitHub. +This module is part of the `OCA/reporting-engine `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sql_export/__manifest__.py b/sql_export/__manifest__.py index e964039ce..c59b16580 100644 --- a/sql_export/__manifest__.py +++ b/sql_export/__manifest__.py @@ -4,9 +4,9 @@ { "name": "SQL Export", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "author": "Akretion,GRAP,Odoo Community Association (OCA)", - "maintainers": ["legalsylvain"], + "maintainers": ["legalsylvain", "florian-dacosta"], "website": "https://github.com/OCA/reporting-engine", "license": "AGPL-3", "category": "Generic Modules/Others", diff --git a/sql_export/security/ir.model.access.csv b/sql_export/security/ir.model.access.csv index 41b06cf17..cd5f2785c 100644 --- a/sql_export/security/ir.model.access.csv +++ b/sql_export/security/ir.model.access.csv @@ -1,4 +1,4 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" -"access_sql_export_all","access_sql_export_all","model_sql_export",,1,0,0,0 +"access_sql_export_all","access_sql_export_all","model_sql_export",sql_request_abstract.group_sql_request_user,1,0,0,0 "access_sql_export_editor","access_sql_export_editor","model_sql_export",sql_request_abstract.group_sql_request_manager,1,1,1,1 -"access_sql_file_wizard","access_sql_file_wizard","model_sql_file_wizard",,1,1,1,0 +"access_sql_file_wizard","access_sql_file_wizard","model_sql_file_wizard",sql_request_abstract.group_sql_request_user,1,1,1,0 diff --git a/sql_export/static/description/index.html b/sql_export/static/description/index.html index d9d59a4de..dd943a1c5 100644 --- a/sql_export/static/description/index.html +++ b/sql_export/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:2cf03bbe1b27b9015fc6d1d57ce5b9b14951c00861e9d8518343c66a2c0b14cc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Allow to export data in csv files FROM sql requests. There are some restrictions in the sql query, you can only read datas. No update, deletion or creation are possible. A new sub menu named Sql Export is @@ -427,7 +427,7 @@ fixed by overloading _prepare_request_check_execution() function.

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.

+feedback.

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

@@ -469,7 +469,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

legalsylvain

-

This module is part of the OCA/reporting-engine project on GitHub.

+

This module is part of the OCA/reporting-engine project on GitHub.

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

diff --git a/sql_export/tests/test_sql_query.py b/sql_export/tests/test_sql_query.py index d8a3c681b..0f3e644ef 100644 --- a/sql_export/tests/test_sql_query.py +++ b/sql_export/tests/test_sql_query.py @@ -57,7 +57,7 @@ class TestExportSqlQuery(TransactionCase): ) sql_export.button_validate_sql_expression() self.assertEqual( - sql_export.state, "sql_valid", "%s is a valid request" % query + sql_export.state, "sql_valid", f"{query} is a valid request" ) def test_sql_query_with_params(self): diff --git a/sql_export/views/sql_export_view.xml b/sql_export/views/sql_export_view.xml index 6b9868d20..d4233547b 100644 --- a/sql_export/views/sql_export_view.xml +++ b/sql_export/views/sql_export_view.xml @@ -76,7 +76,8 @@ SQL Exports sql.export - tree,form + list,form + sql-export