- When manually sending am email from OpenERP v7.0 which features the company logo, the image data is not embedded properly.
# Override the regex as defined in the lxml.html.clean
- But we can resolve it by added below code in top of the openerp/tools/mail.py File.
# module in order to allow the preservation of image data.
clean._is_javascript_scheme = re.compile(
r'(?:javascript|jscript|livescript|vbscript|about|mocha):',
re.I).search
Wednesday, 25 November 2015
Image data not embedded in manually-sent email in odoo | OpenERP
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment