Odoo Help

Welcome!

This community 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.

1

Sending or printing quote and invoices returns a Nonetype error

By
Dale
on 2/22/13, 8:23 AM 2,133 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
0
Ognyan Ivanov
On 5/31/13, 2:44 PM

Hi,

what about on windows?

Thanks.

0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
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

0

Ahmet Altinisik

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

http://www.altinkaya.eu

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?

Dale
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
0
Dale
On 6/10/13, 1:34 PM

Hi

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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