Commit graph

7 commits

Author SHA1 Message Date
Marc Durepos
8162d367f0 remove debug info logging from account_email_to_pdf 2025-03-28 08:46:27 -04:00
Marc Durepos
72530d8c35 fix for pdf encoding in account_email_to_pdf 2025-03-28 08:00:20 -04:00
Marc Durepos
640326629a finally got the right method override (I hope) for email to pdf 2025-03-27 17:16:26 -04:00
Marc Durepos
bfbc5d6491 further fixes and tests for email_to_pdf 2025-03-27 16:34:15 -04:00
Marc Durepos
ad2bc057a2 further fixes and tests for email_to_pdf 2025-03-27 11:23:58 -04:00
Marc Durepos
f3259fd6a1 updates to account_email_to_pdf - total rewrite 2025-03-27 10:49:45 -04:00
Marc Durepos
cc9a5e172d new module account_email_to_pdf
Since Odoo 18, emails coming in to an alias creating account moves
(vendor bills) get rejected if they do not contain an attachment that
can be read by the system. This means that sending a plain email receipt
with no attachment bounces, when it would be nice to have a vendor bill
with the message in the chatter as a minimum.

This module checks for attachments and injects one, in the form of a
simple pdf containing the email header and contents, if there was no
attachment to begin with.

This should enable sending of a simple email and not having it bounce
due to there being no attachment.
2025-03-27 08:26:03 -04:00