[7.0] "TypeError: 'NoneType' object is not iterable" when creating PDF attachments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
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/
return openerp.
File "/usr/local/
result = ExportService.
File "/usr/local/
res = fn(db, uid, *params)
File "/usr/local/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/local/
return f(self, dbname, *args, **kwargs)
File "/usr/local/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
values[
File "/home/
vals[
File "/home/
mime, icont = cntIndex.
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.
Related branches
- OpenERP Core Team: Pending requested
- Diff: 0 lines
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
I have done some further tests and I can install Knowledge Management without the Document Management system and sending emails works.
It's when the Document Management System is installed that breaks sending email invoices/ quotations.