openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23502
[Bug 1094423] Re: [7.0] Knowledge Management System breaks Sending Email
HI Ian,
thx for this. I tried it just a few minutes ago. It still doesnt work...
I'm able to upload files via knowledge, but ist impossible to attach files to items like products, messages etc.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1094423
Title:
[7.0] Knowledge Management System breaks Sending Email
Status in OpenERP Addons (modules):
Invalid
Bug description:
Using Latest build from Launchpad (debian src)
Installing the Knowledge Management System will break any attempt to
email quotations/invoices to customers.
Server Traceback (most recent call last):
File "/home/openerp/web/addons/web/session.py", line 87, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0alpha-py2.7.egg/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/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 "/home/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 "/home/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
To replicate.
Create new database using demostration data.
- Install Sales Management Module & eInvoicing and Payments
Go to Sales > quotations, select S0008 and click on Send by Email...
this will WORK
- Install Knowledge Management System and attempt to send by email any
existing Quotation or Invoice from demo data to get the error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1094423/+subscriptions
References