[16.0][MIG] attachment_synchronize#2632
Conversation
59fe02e to
172f09f
Compare
172f09f to
f578312
Compare
| help="Used to fill the 'Failure Emails' field in the 'Attachments Queues' " | ||
| "related to this task.\nAn alert will be sent to these emails if any operation " | ||
| "on these Attachment Queue's file type fails.", | ||
| ) |
There was a problem hiding this comment.
Hi @florian-dacosta thanks for this nice integration.
Side consideration. Odoo introduced activities in 11.0 as internal communication system.
Clearly, users in odoo do not use it as much as they could do.
Flows in this module are fully managed by Odoo objects but mail is a communication mode to exchange informations between two systems. Here we have a unique system, Odoo
Currently our odoo users in our projects complains they receive too many mails in a day from misc sources for so many usage.
I don't talk about environmental considerations, but we could have this argument too
I think we should promote definitively this kind of communication in a such version.
Replace here failure_emails here by failure_activity_user_ids could definitively imply users to use activities instead of emails.
It's an opportunity to improve communication, make it smarter, interactive, only few bytes consumer
#makestheplanetgreenagain
My 2 cts
cc @kevinkhao
There was a problem hiding this comment.
Hi @bealdav
Thanks for the remark. It is true we may want to implement activities.
This module is not responsible for this part though, as it just extends it, but the base implementation of these failure email is in the base module (attachment_queue) which is merged.
I think it would be nice to have an implementation with the activities indeed, and we could have another one for those still prefering email.
We'd just have to decide if we'd implement both in base module, or only activities and email as a separated module, or both in separated modules...
Overall I agree, but I think it should be put on the roadmap. (I may work on it but I don't want it to block the PR)
- match pattern filename to download - empty list as default domain
- prefer enabled in place of active
- log info on run completed
- correct `directory_output` value - mute logger for desired raise exception - change how the "already imported files" are checked when "check_duplicated_files = True" : It occurs that a task o2m field `attachment_ids` returns an empty record when checked during the `_file_to_import()` method... but only when the module `autovacuum_message_attachment` is installed !
f578312 to
deaa0b8
Compare
|
@bealdav @kevinkhao @bguillot |
|
Hi @bealdav @kevinkhao @bguillot |
…ng files even if the path ends with the folder separator
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
This PR has the |
|
Congratulations, your PR was merged at 6489ca2. Thanks a lot for contributing to OCA. ❤️ |
Depends on OCA/storage#252
Adapt the module to the new fs_storage module which will replace storage_backend very soon.
Aims to replace #2562 when fs_storage will be merged.
@bealdav @kevinkhao