7.0点击报价单上的以邮件发送会报错 不是那个字体问题
-
如题,报错内容如下:
OpenERP Server Error
Client Traceback (most recent call last):
File "E:\openerp\openerp\addons\web\http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "E:\openerp\openerp\addons\web\controllers\main.py", line 1080, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "E:\openerp\openerp\addons\web\controllers\main.py", line 1072, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "E:\openerp\openerp\addons\web\session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "E:\openerp\openerp\addons\web\session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "E:\openerp\openerp\addons\web\session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "E:\openerp\openerp\addons\web\session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "E:\openerp\openerp\netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "E:\openerp\openerp\service\web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "E:\openerp\openerp\osv\osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "E:\openerp\openerp\osv\osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "E:\openerp\openerp\osv\osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "E:\openerp\openerp\addons\audittrail\audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "E:\openerp\openerp\osv\osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "E:\openerp\openerp\addons\email_template\wizard\mail_compose_message.py", line 85, in onchange_template_id
values['attachment_ids'].append(ir_attach_obj.create(cr, uid, data_attach, context=context))
File "E:\openerp\openerp\addons\document\document.py", line 121, in create
vals['file_type'], vals['index_content'] = self._index(cr, uid, vals['datas'].decode('base64'), vals.get('datas_fname', False), None)
File "E:\openerp\openerp\addons\document\document.py", line 132, in _index
mime, icont = cntIndex.doIndex(data, datas_fname, file_type or None, None)
TypeError: 'NoneType' object is not iterable
谢谢大家帮忙看看