Odoo Help


Sending or printing quote and invoices returns a Nonetype error

on 2/22/13, 8:23 AM 2,738 views

I have been having sending invoices by email. At first I was getting a font error which I resolved thanks to help.openerp.com. However I am now getting a "Nonetype" error - object is not iterable. Details are below. Any suggestions are welcome:

Client Traceback (most recent call last):
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\http.py", line 195, in dispatch
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\controllers\main.py", line 1078, in call_kw
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\controllers\main.py", line 1070, in _call_kw
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 43, in proxy
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last):
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\web\session.py", line 90, in send
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\netsvc.py", line 289, in dispatch_rpc
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\service\web_services.py", line 614, in dispatch
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 169, in execute_kw
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 123, in wrapper
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 179, in execute
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\.\openerp\osv\osv.py", line 166, in execute_cr
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\email_template\wizard\mail_compose_message.py", line 85, in onchange_template_id
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\document\document.py", line 121, in create
  File "C:\Program Files\OpenERP 7.0-20130118-002240\Server\server\openerp\addons\document\document.py", line 132, in _index
TypeError: 'NoneType' object is not iterable

Ahmet Altinisik

--Ahmet Altinisik--
| 8 7 10
ANKARA, Turkey
--Ahmet Altinisik--


Ahmet Altinisik
On 2/22/13, 10:51 AM

Did you install the poppler-utils package ?

For Ubuntu you can install it with the following command:

sudo apt-get install poppler-utils

Thanks for your reply. I am running on a windows server. Is there an equivalent?

on 2/22/13, 10:56 AM

I do not recommend you to use openerp in production use on windows machine due to several reasons.

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/22/13, 2:51 PM
On 6/10/13, 1:34 PM


Thanks for your answers. Yes it was related to modules. I removed and re-installed some CRM modules and it is now working

Ognyan Ivanov
On 5/31/13, 2:44 PM


what about on windows?





| 5 4 7
Baarn, Netherlands
On 5/31/13, 6:31 PM

Maybe not an answer, but some questions:

  • Did you install additional modules (either self-made or downloaded from internet)
  • Does the same issue happen when you do the same things with a new / other user?

You have answered your own question, see here

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/22/13, 8:23 AM
Seen: 2738 times
Last updated: 3/16/15, 8:10 AM