Browse Source

Merge branch '9.0' of /home/iii/addons-yelizariev/../mail_fix_header_from into 9.0

pull/2/head
Ildar Nasyrov 9 years ago
parent
commit
559b7b6994
  1. 1
      mail_fix_header_from/__init__.py
  2. 16
      mail_fix_header_from/__openerp__.py
  3. 4
      mail_fix_header_from/models.py
  4. BIN
      mail_fix_header_from/static/description/icon.png

1
mail_fix_header_from/__init__.py

@ -0,0 +1 @@
import models

16
mail_fix_header_from/__openerp__.py

@ -0,0 +1,16 @@
{
"name" : "Fix non-ascii header 'from' (OBSOLETE)",
"version" : "0.3",
"author" : "IT-Projects LLC, Ivan Yelizariev",
'license': 'LGPL-3',
"category" : "Social Network",
"website" : "https://yelizariev.github.io",
"description": """
Obsolete in odoo 8.0 since Sep 10, 2014 https://github.com/odoo/odoo/commit/f2cf6ced17d3477b8858e3a8f955a42cc8a629ff . You can install this module, if you use older version.
""",
"depends" : ["base"],
#"init_xml" : [],
#"update_xml" : [],
#"active": True,
'installable': False
}

4
mail_fix_header_from/models.py

@ -0,0 +1,4 @@
import re
from openerp.addons.base.ir import ir_mail_server
ir_mail_server.name_with_email_pattern = re.compile(r'([^<@>]+)\s*<([^ ,<@]+@[^> ,]+)>')

BIN
mail_fix_header_from/static/description/icon.png

After

Width: 100  |  Height: 100  |  Size: 2.1 KiB

Loading…
Cancel
Save