New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] New module incoming_mail_embedded_picture_reader #329
[ADD] New module incoming_mail_embedded_picture_reader #329
Conversation
you should fix https://travis-ci.org/OCA/server-tools/jobs/102102216#L467 |
any reason not to do this on the client side rather than messing with an email's content? |
Hi @hbrunn
|
images: The third heading here: https://www.odoo.com/apps/upload - I personally think we could do without it, but as this test is introduced, we should adhere to it I have huge reservations against parsing and rewriting each message's HTML. The sending part is another issue, that should be handled by the mailing wizard. The model Why doesn't it work for you to iterate over all img tags (actually, you should support everything that can be embedded according to the RFC anyways) at display time, check if the src attribute is one of the messages' attachment content-id or content-location headers (those will have to be saved on the attachment in the lines of your patch)? As for the patch itself: I'd be pretty surprised if it was merged to upstream, and we can't accept modules that don't work with an unpatched core. Did you experiment with overriding |
55c344e
to
8f3ab07
Compare
…read embedded received mail into Odoo
8f3ab07
to
c37bdd8
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
This PR add a new module that allows to read mail having embedded picture into its body.
Take care that this is currently only possible with odoo/odoo#10435 (wait for merge)