{"action":"created","issue":{"url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/6","labels_url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/6/comments","events_url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/6/events","html_url":"https://github.com/odoo-brazil/odoo-brazil-eletronic-documents/issues/6","id":37596799,"number":6,"title":"Cadastro de terceiros / Consultar cadastro SEFAZ","user":{"login":"Mackilem","id":6154245,"avatar_url":"https://avatars.githubusercontent.com/u/6154245?v=3","gravatar_id":"","url":"https://api.github.com/users/Mackilem","html_url":"https://github.com/Mackilem","followers_url":"https://api.github.com/users/Mackilem/followers","following_url":"https://api.github.com/users/Mackilem/following{/other_user}","gists_url":"https://api.github.com/users/Mackilem/gists{/gist_id}","starred_url":"https://api.github.com/users/Mackilem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mackilem/subscriptions","organizations_url":"https://api.github.com/users/Mackilem/orgs","repos_url":"https://api.github.com/users/Mackilem/repos","events_url":"https://api.github.com/users/Mackilem/events{/privacy}","received_events_url":"https://api.github.com/users/Mackilem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-07-10T19:33:36Z","updated_at":"2015-06-13T23:10:22Z","closed_at":null,"body":"Boa Tarde,\r\n\r\nApós o cadastro do cliente (testei um do RS e outro de SC) tentei usar o botão (Consultar cadastro SEFAZ) e apresentou o seguinte erro, abaixo:\r\n\r\nServer Traceback (most recent call last):\r\n  File \"/opt/openerp/web/addons/web/session.py\", line 89, in send\r\n    return openerp.netsvc.dispatch_rpc(service_name, method, args)\r\n  File \"/opt/openerp/server/openerp/netsvc.py\", line 296, in dispatch_rpc\r\n    result = ExportService.getService(service_name).dispatch(method, params)\r\n  File \"/opt/openerp/server/openerp/service/web_services.py\", line 626, in dispatch\r\n    res = fn(db, uid, *params)\r\n  File \"/opt/openerp/server/openerp/osv/osv.py\", line 190, in execute_kw\r\n    return self.execute(db, uid, obj, method, *args, **kw or {})\r\n  File \"/opt/openerp/server/openerp/osv/osv.py\", line 132, in wrapper\r\n    return f(self, dbname, *args, **kwargs)\r\n  File \"/opt/openerp/server/openerp/osv/osv.py\", line 199, in execute\r\n    res = self.execute_cr(cr, uid, obj, method, *args, **kw)\r\n  File \"/opt/openerp/server/openerp/osv/osv.py\", line 187, in execute_cr\r\n    return getattr(object, method)(cr, uid, *args, **kw)\r\n  File \"/opt/openerp/nfe/nfe/res_partner.py\", line 50, in sefaz_check\r\n    processo = check_partner(company, cnpj_cpf, estato, ie)\r\n  File \"/opt/openerp/nfe/nfe/sped/nfe/processing/xml.py\", line 66, in check_partner\r\n    return  p.consultar_cadastro(estado, ie, cnpj_cpf)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pysped/nfe/processador_nfe.py\", line 1317, in consultar_cadastro\r\n    self._conectar_servico(WS_NFE_CONSULTA_CADASTRO, envio, resposta, 1)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pysped/nfe/processador_nfe.py\", line 212, in _conectar_servico\r\n    if type(webservices_2.ESTADO_WS[self.estado][ambiente][servico]) == dict:\r\nKeyError: 6"},"comment":{"url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/comments/111759557","html_url":"https://github.com/odoo-brazil/odoo-brazil-eletronic-documents/issues/6#issuecomment-111759557","issue_url":"https://api.github.com/repos/odoo-brazil/odoo-brazil-eletronic-documents/issues/6","id":111759557,"user":{"login":"mileo","id":1975978,"avatar_url":"https://avatars.githubusercontent.com/u/1975978?v=3","gravatar_id":"","url":"https://api.github.com/users/mileo","html_url":"https://github.com/mileo","followers_url":"https://api.github.com/users/mileo/followers","following_url":"https://api.github.com/users/mileo/following{/other_user}","gists_url":"https://api.github.com/users/mileo/gists{/gist_id}","starred_url":"https://api.github.com/users/mileo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mileo/subscriptions","organizations_url":"https://api.github.com/users/mileo/orgs","repos_url":"https://api.github.com/users/mileo/repos","events_url":"https://api.github.com/users/mileo/events{/privacy}","received_events_url":"https://api.github.com/users/mileo/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T23:10:22Z","updated_at":"2015-06-13T23:10:22Z","body":"Pode ser que ele seja como o de GO; \n\nQue vc precisa enviar a cadeia completa + o certificado da empresa. \n\nTe explico melhor isso qualquer hora. \n\n[]s \n\n-- \nLuis Felipe Miléo \nKMEE \n+55 35 8876-3663 \n+55 35 3622-2548 \nskype: luisfelipemileo \nmileo@kmee.com.br \nkmee.com.br \nParceiro oficial no Brasil: \n\n\nDe: \"Danimar Ribeiro\" <notifications@github.com> \nPara: \"odoo-brazil/odoo-brazil-eletronic-documents\" <odoo-brazil-eletronic-documents@noreply.github.com> \nEnviadas: Sábado, 13 de junho de 2015 19:45:53 \nAssunto: Re: [odoo-brazil-eletronic-documents] Cadastro de terceiros / Consultar cadastro SEFAZ (#6) \n\n\n\nInfelizmente mesmo corrigindo a url do estado do Maranhão parece que o webservice de consulta não está de acordo com os outros. \nRecebo o erro de que o certificado não foi enviado, apesar de estar sendo enviado: \nHTTP Status 400 - No client certificate chain in this request \n\n— \nReply to this email directly or view it on GitHub . \n\n"}}