Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5709 Lượt xem

Getting "none type" is not Iterable in Quotation Email Early nascent setup. Last time I tried to send an email (did so from RFQ mode) all worked well.

Just tried to send a test from Sales/Quotations and get this error:

Server Traceback (most recent call last): File "/opt/openerp/web/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/openerp/netsvc.py", line 295, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 614, in dispatch res = fn(db, uid, params) File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 198, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/opt/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 "/opt/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 "/opt/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

Later I can "press send" and it shows in the OPENERP que but nothing is transporting to my test_gmail account. Will try some non templated mailings next.

Ảnh đại diện
Huỷ bỏ
Tác giả

I just did a test with a Sample Data Install. In that situation, though the SMTP outgoing server is not setup, I can get the form to load in "Send Email" for both Quotations and RFQ which I cannot get to load on my site being built. The email forms were loading previously. Varaibles now are that I have products, customers and chart of accounts loaded.

Tác giả

I was getting email out on 2-25-13 from this database. The Server is able to email from "sample database". It appears that the issue is in Document or Template creation. I have not done any Template editing. Document Management system I was trying to get working, possibly in that window.

Tác giả

Uninstalling "Document Management" and "Knowledge" had no effect.

Tác giả

Issue seems to be in parsing the Template. From "opportunities" I found I could send an email. Also, from Quotation, If I choose "send by email". I get the error then go further. If I add an address (as was automatically added on Opportunity email) an email is sent, but with no Template message and no attachment.

Tác giả

Pulled full new sets of server/addons/web. But still same result. Will see if anything can be made of Document Management or Remove it, but I tried this earlier.

Tác giả Câu trả lời hay nhất

Had to Create a New DataBase, bring in the needed Modules and import previous Data. Working now. I don't know what was causing the error but time to move on. Was likely a very small entry somewhere in the Database.

What was known is that it is possible to get a new system going if you are not "too far" down the road. I would hate to do the same with a years worth of Orders, Invoices, Manufacturing, Projects, Notes, HR and the like.

Daily Backups and conservative Admin and Module usage seems a good part of the approach.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 24
1407
2
thg 1 24
4433
2
thg 1 24
10157
2
thg 4 23
1979
1
thg 3 21
9658