[18.0][MIG] base_export_async: migrate - #849
Conversation
…achment to a record only visible to the user
Currently translated at 100.0% (19 of 19 strings) Translation: queue-12.0/queue-12.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-base_export_async/de/
Currently translated at 100.0% (19 of 19 strings) Translation: queue-12.0/queue-12.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-base_export_async/zh_Hans/
The UI still send it to the current user, but it will allow reusing the module for other purposes: plan a regular export to users. Setting the recipient_ids instead of the email_to in mail.mail means that we can still send the email, it will stay in the failed emails, allowing to correct the user.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: queue-12.0/queue-12.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-12-0/queue-12-0-base_export_async/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/it/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/it/
Currently translated at 100.0% (22 of 22 strings) Translation: queue-16.0/queue-16.0-base_export_async Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_export_async/fr/
As normal user only have read access to delay.export, we need sudo to chreate an attachment on this record Use user 6 (Marc Demo) in the tests, not admin (2)
49b1330 to
af3b019
Compare
af3b019 to
f02ebf1
Compare
samirGuesmi
left a comment
There was a problem hiding this comment.
Hello @pierre-halleux
Thanks for the PR! 👍 😄
There’s just a small adjustment I’d suggest to avoid the following issue:
TypeError: this.env._t is not a function
f02ebf1 to
f1cb9fa
Compare
|
@samirGuesmi I believe your comments are addressed, could you review once again? |
|
LGTM @pierre-halleux could you please check this and approve the changes |
|
This PR has the |
Thanks for the changes. LGTM |
|
Thanks for this — migrating
Happy to fold these directly into this PR instead of keeping mine Look at: https://github.com/fnegrini/queue_export_assync_18/tree/18.0-mig-base_export_async |
No description provided.