From 20270554bb36a85becff543194d0584629289687 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Sat, 10 May 2014 18:19:21 +0600 Subject: [PATCH] upload mail_fix_header_from --- __init__.py | 4 ++++ __openerp__.py | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 __init__.py create mode 100644 __openerp__.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..83c8941 --- /dev/null +++ b/__init__.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*<([^ ,<@]+@[^> ,]+)>') diff --git a/__openerp__.py b/__openerp__.py new file mode 100644 index 0000000..34ca0de --- /dev/null +++ b/__openerp__.py @@ -0,0 +1,14 @@ +{ + "name" : "Fix non-ascii header 'from'", + "version" : "0.3", + "author" : "Ivan Yelizariev", + "category" : "Mail", + "website" : "https://it-projects.info", + "description": """ + """, + "depends" : ["base"], + #"init_xml" : [], + #"update_xml" : [], + #"active": True, + "installable": True +}