openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #01953
Re: 7.0 trunk problem with "send by mail"
Moritz,
Thats why it seems a common error!
On Tue, Jan 8, 2013 at 3:57 PM, Moritz Berrenberg <m.berrenberg@xxxxxxxxx>wrote:
> Hi Serpent,
>
> the bug reported there was for the survey module.
> Do you experience the same problem when you try to send a quotation by
> mail ?
> i already updated to the latest trunk but this didnt fix this problem.
>
> regards
> Moritz
>
>
> On Tue, Jan 8, 2013 at 6:19 PM, Serpent Consulting Services <
> serpentcs.lp@xxxxxxxxx> wrote:
>
>> This seems like a common error.
>>
>> Example : A bug reported here :
>> https://bugs.launchpad.net/openobject-addons/+bug/1096218
>>
>> Thanks.
>>
>> On Tuesday 08 January 2013 03:26 PM, Moritz Berrenberg wrote:
>>
>> hi community,
>>
>> i have a problem when i to send a quotation or RFQ with the send by
>> mail function.
>> since this is a so basic function and i couldnt find a bug report i
>> thought i seek for help here.
>>
>> when i press send by mail i always get this error:
>>
>> OpenERP Server Error
>>
>> ------------------------------
>>
>> Client Traceback (most recent call last):
>> File "/opt/openerp/web/addons/web/http.py", line 195, in dispatch
>> response["result"] = method(self, **self.params)
>> File "/opt/openerp/web/addons/web/controllers/main.py", line 1078, in call_kw
>> return self._call_kw(req, model, method, args, kwargs)
>> File "/opt/openerp/web/addons/web/controllers/main.py", line 1070, in _call_kw
>> return getattr(req.session.model(model), method)(*args, **kwargs)
>> File "/opt/openerp/web/addons/web/session.py", line 40, in proxy
>> result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
>> File "/opt/openerp/web/addons/web/session.py", line 28, in proxy_method
>> result = self.session.send(self.service_name, method, *args)
>> File "/opt/openerp/web/addons/web/session.py", line 101, in send
>> raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
>>
>>
>> Server Traceback (most recent call last):
>> File "/opt/openerp/web/addons/web/session.py", line 87, in send
>> return openerp.netsvc.dispatch_rpc(service_name, method, args)
>> File "/opt/openerp/server/openerp/netsvc.py", line 289, 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 169, in execute_kw
>> return self.execute(db, uid, obj, method, *args, **kw or {})
>> File "/opt/openerp/server/openerp/osv/osv.py", line 123, in wrapper
>> return f(self, dbname, *args, **kwargs)
>> File "/opt/openerp/server/openerp/osv/osv.py", line 179, in execute
>> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
>> File "/opt/openerp/server/openerp/osv/osv.py", line 166, 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
>>
>> regards
>>
>> Moritz
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openerp-community
>> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-community
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>>
>> --
>>
>> Thanks,
>> Regards,
>>
>> Serpent Consulting Services.
>> Web : http://www.serpentcs.com
>> Twitter: jaynvora, husendaudi
>> Skype: jaynvora, husen.daudi
>> Blog : http://www.serpentcs.com/blog
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
>
--
Thanks,
Regards,
*Er. Jay Vora*
M : 91 - 9879354457.
(Not miles, just an email away...)
Twitter <http://twitter.com/#%21/jaynvora>
Facebook<http://www.facebook.com/jaynvora>
LinkedIn <http://www.linkedin.com/in/jaynvora>
Blogger<http://jayvora.blogspot.com>
"No Seconds to be Wasted for Formalities, I have a lot to Execute !" - Jay
Vora
Follow ups
References