Browse Source

[REF] move code from __init__.py to models.py file

pull/1/head
Ivan Yelizariev 10 years ago
parent
commit
3cdb06cf2c
  1. 5
      __init__.py
  2. 4
      models.py

5
__init__.py

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

4
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*<([^ ,<@]+@[^> ,]+)>')
Loading…
Cancel
Save