Maintainers
+Maintainers
This module is maintained by the OCA.
@@ -429,5 +434,6 @@ diff --git a/README.md b/README.md
index aa4e119ecb..a71cc330cf 100644
--- a/README.md
+++ b/README.md
@@ -21,15 +21,15 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
-[base_export_async](base_export_async/) | 16.0.1.1.0 | | Asynchronous export with job queue
+[base_export_async](base_export_async/) | 16.0.1.2.0 | | Asynchronous export with job queue
[base_import_async](base_import_async/) | 16.0.1.2.0 | | Import CSV files in the background
-[queue_job](queue_job/) | 16.0.2.11.5 |
| Job Queue
+[queue_job](queue_job/) | 16.0.2.12.0 |
| Job Queue
[queue_job_batch](queue_job_batch/) | 16.0.1.0.1 | | Job Queue Batch
[queue_job_cron](queue_job_cron/) | 16.0.2.1.0 | | Scheduled Actions as Queue Jobs
[queue_job_cron_jobrunner](queue_job_cron_jobrunner/) | 16.0.1.1.0 |
| Run jobs without a dedicated JobRunner
[queue_job_subscribe](queue_job_subscribe/) | 16.0.1.1.0 | | Control which users are subscribed to queue job notifications
[queue_job_web_notify](queue_job_web_notify/) | 16.0.1.0.0 | | This module allows to display a notification to the related user of a failed job. It uses the web_notify notification feature.
-[test_queue_job](test_queue_job/) | 16.0.2.3.0 | | Queue Job Tests
+[test_queue_job](test_queue_job/) | 16.0.2.4.0 | | Queue Job Tests
[test_queue_job_batch](test_queue_job_batch/) | 16.0.1.0.0 | | Test Job Queue Batch
diff --git a/base_export_async/README.rst b/base_export_async/README.rst
index 0863ca6273..3cf70f08d2 100644
--- a/base_export_async/README.rst
+++ b/base_export_async/README.rst
@@ -1,3 +1,7 @@
+.. image:: https://odoo-community.org/readme-banner-image
+ :target: https://odoo-community.org/get-involved?utm_source=readme
+ :alt: Odoo Community Association
+
=================
Base Export Async
=================
@@ -7,13 +11,13 @@ Base Export Async
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:85ce335207ce3505a7676a8a78743155f9f8c01d1c6f777fe2308c5e77f00e5a
+ !! source digest: sha256:da52a05130a89cd0000a39c9dd6315821387de2c310f9cf7cc1f7e6e8541fe55
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
-.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
+.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fqueue-lightgray.png?logo=github
diff --git a/base_export_async/__manifest__.py b/base_export_async/__manifest__.py
index 04975d5bf3..f43ed29632 100644
--- a/base_export_async/__manifest__.py
+++ b/base_export_async/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Base Export Async",
"summary": "Asynchronous export with job queue",
- "version": "16.0.1.1.0",
+ "version": "16.0.1.2.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/queue",
diff --git a/base_export_async/models/delay_export.py b/base_export_async/models/delay_export.py
index 549d44a1e1..ee0ae25ab0 100644
--- a/base_export_async/models/delay_export.py
+++ b/base_export_async/models/delay_export.py
@@ -109,6 +109,10 @@ def export(self, params):
attachment.name,
)
+ if any(user.has_group("base.group_portal") for user in users):
+ attachment.generate_access_token()
+ url += f"&access_token={attachment.access_token}"
+
time_to_live = (
self.env["ir.config_parameter"].sudo().get_param("attachment.ttl", 7)
)
diff --git a/base_export_async/static/description/index.html b/base_export_async/static/description/index.html
index 6aa89b8a93..147c0c8c2b 100644
--- a/base_export_async/static/description/index.html
+++ b/base_export_async/static/description/index.html
@@ -3,7 +3,7 @@
Standard Export can be delayed in asynchronous jobs executed in the background and then send by email to the user.
Table of contents
The user is presented with a new checkbox “Asynchronous export” in the export screen. When selected, the export is delayed in a background job.
@@ -393,7 +398,7 @@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 @@ -401,22 +406,22 @@
Do not contact contributors directly about support or help with technical issues.