Skip to content

[17.0][FIX] base_export_async: use _t instead of deprecated env._t - #1032

Open
samirGuesmi wants to merge 63 commits into
OCA:17.0from
acsone:17.0-migFix-base_export_async-sgu
Open

samirGuesmi wants to merge 63 commits into
OCA:17.0from
acsone:17.0-migFix-base_export_async-sgu

Conversation

@samirGuesmi

Copy link
Copy Markdown
Member

based on PR #894

apineux and others added 30 commits February 11, 2026 11:00
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/
vincent-cowboy and others added 25 commits February 11, 2026 11:00
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: queue-15.0/queue-15.0-base_export_async
Translate-URL: https://translation.odoo-community.org/projects/queue-15-0/queue-15-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)
@oca-cla-bot

oca-cla-bot Bot commented Nov 9, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@OCA-git-bot OCA-git-bot added series:17.0 mod:base_export_async Module base_export_async labels Nov 9, 2026
@StephaneMangin

Copy link
Copy Markdown

Good catch, I'll reintegrate it inside the original PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_export_async Module base_export_async series:17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.