Wednesday, 25 November 2015

Image data not embedded in manually-sent email in odoo | OpenERP

  • When manually sending am email from OpenERP v7.0 which features the company logo, the image data is not embedded properly.
  • But we can resolve it by added below code in top of the openerp/tools/ File.
# Override the regex as defined in the lxml.html.clean
# module in order to allow the preservation of image data.
clean._is_javascript_scheme = re.compile(