Browse Source

[REF] 'fetchmail_attach_from_folder' change import

pull/86/head
Sylvain LE GAL 10 years ago
parent
commit
89e7571015
  1. 4
      fetchmail_attach_from_folder/match_algorithm/email_domain.py
  2. 4
      fetchmail_attach_from_folder/match_algorithm/email_exact.py
  3. 4
      fetchmail_attach_from_folder/match_algorithm/openerp_standard.py

4
fetchmail_attach_from_folder/match_algorithm/email_domain.py

@ -20,10 +20,10 @@
# #
############################################################################## ##############################################################################
from . import email_exact
from .email_exact import email_exact
class email_domain(email_exact.email_exact):
class email_domain(email_exact):
'''Search objects by domain name of email address. '''Search objects by domain name of email address.
Beware of match_first here, this is most likely to get it wrong (gmail)''' Beware of match_first here, this is most likely to get it wrong (gmail)'''
name = 'Domain of email address' name = 'Domain of email address'

4
fetchmail_attach_from_folder/match_algorithm/email_exact.py

@ -20,12 +20,12 @@
# #
############################################################################## ##############################################################################
from . import base
from .base import base
from openerp.tools.safe_eval import safe_eval from openerp.tools.safe_eval import safe_eval
from openerp.tools.mail import email_split from openerp.tools.mail import email_split
class email_exact(base.base):
class email_exact(base):
'''Search for exactly the mailadress as noted in the email''' '''Search for exactly the mailadress as noted in the email'''
name = 'Exact mailadress' name = 'Exact mailadress'

4
fetchmail_attach_from_folder/match_algorithm/openerp_standard.py

@ -20,10 +20,10 @@
# #
############################################################################## ##############################################################################
from . import base
from .base import base
class openerp_standard(base.base):
class openerp_standard(base):
'''No search at all. Use OpenERP's standard mechanism to attach mails to '''No search at all. Use OpenERP's standard mechanism to attach mails to
mail.thread objects. Note that this algorithm always matches.''' mail.thread objects. Note that this algorithm always matches.'''

Loading…
Cancel
Save