[FIX] Thunderbird : Mail Archiveing Error

bzr revid: jam@tinyerp.com-20101111063148-mg2ja2g13q6aeg74
This commit is contained in:
jam-openerp 2010-11-11 12:01:48 +05:30
parent 1ea25302b6
commit f387313e23
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class thunderbird_partner(osv.osv_memory):
res={}
obj_attch = self.pool.get('ir.attachment')
ls = ['*', '/', '\\', '<', '>', ':', '?', '"', '|', '\t', '\n',':','~']
sub = (email.Subject).replace(' ','')
sub = msg.get('subject','NO-SUBJECT').replace(' ','')
if sub.strip() == '':
sub = 'NO SBUJECT'
fn = sub