{"action":"closed","issue":{"url":"https://api.github.com/repos/Trust-Code/odoo-brazil-eletronic-documents/issues/4","labels_url":"https://api.github.com/repos/Trust-Code/odoo-brazil-eletronic-documents/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Trust-Code/odoo-brazil-eletronic-documents/issues/4/comments","events_url":"https://api.github.com/repos/Trust-Code/odoo-brazil-eletronic-documents/issues/4/events","html_url":"https://github.com/Trust-Code/odoo-brazil-eletronic-documents/issues/4","id":101104258,"number":4,"title":"Error on generate DANFE","user":{"login":"yk2kus","id":6999933,"avatar_url":"https://avatars.githubusercontent.com/u/6999933?v=3","gravatar_id":"","url":"https://api.github.com/users/yk2kus","html_url":"https://github.com/yk2kus","followers_url":"https://api.github.com/users/yk2kus/followers","following_url":"https://api.github.com/users/yk2kus/following{/other_user}","gists_url":"https://api.github.com/users/yk2kus/gists{/gist_id}","starred_url":"https://api.github.com/users/yk2kus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yk2kus/subscriptions","organizations_url":"https://api.github.com/users/yk2kus/orgs","repos_url":"https://api.github.com/users/yk2kus/repos","events_url":"https://api.github.com/users/yk2kus/events{/privacy}","received_events_url":"https://api.github.com/users/yk2kus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-14T21:12:52Z","updated_at":"2015-08-18T00:49:02Z","closed_at":"2015-08-18T00:49:01Z","body":" File \"/opt/openerp-8.0/odoo-brazil-eletronic-documents/nfe/report/report.py\", line 51, in create\r\n    pdf_string = print_danfe(account_invoice)\r\n  File \"/opt/openerp-8.0/odoo-brazil-eletronic-documents/nfe/sped/nfe/processing/xml.py\", line 145, in print_danfe\r\n    danfe.gerar_danfe()\r\n  File \"/usr/local/lib/python2.7/dist-packages/PySPED-0.1.2-py2.7.egg/pysped/nfe/danfe/danfe.py\", line 243, in gerar_danfe\r\n    self.danfe.generate_by(PDFGenerator, filename=danfe_pdf)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/base.py\", line 435, in generate_by\r\n    return generator.execute()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/pdf.py\", line 100, in execute\r\n    self.render_bands()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/base.py\", line 548, in render_bands\r\n    self.start_new_page()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/base.py\", line 436, in start_new_page\r\n    self.render_page_header()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/pdf.py\", line 234, in render_page_header\r\n    update_top=False,\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/base.py\", line 373, in render_band\r\n    top_position)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/generators/base.py\", line 222, in render_element\r\n    para = self.make_paragraph(widget.text, self.make_paragraph_style(band, widget.style))\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/widgets.py\", line 253, in <lambda>\r\n    text = property(lambda self: self._text(), _set_text)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/widgets.py\", line 238, in _text\r\n    value = getattr(self, 'action_'+self.action)()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/widgets.py\", line 191, in action_value\r\n    return self.get_object_value(attribute_name=attribute_name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/widgets.py\", line 160, in get_object_value\r\n    value = get_attr_value(instance, attribute_name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Geraldo-0.4.17-py2.7.egg/geraldo/utils.py\", line 98, in get_attr_value\r\n    raise AttributeNotFound('There is no attribute nor key \"%s\" in the object \"%s\"'%(parts[0], repr(obj)))\r\nAttributeNotFound: There is no attribute nor key \"NFe\" in the object \"None\"\r\n2015-08-14 21:11:00,481 9995 ERROR impala openerp.addons.web.controllers.main: An exception occured during an http request\r\nTraceback (most recent call last):\r\n  File \"/opt/openerp-8.0/odoo/openerp/addons/web/controllers/main.py\", line 69, in wrap\r\n    return f(*args, **kwargs)\r\n  File \"/opt/openerp-8.0/odoo/openerp/addons/web/controllers/main.py\", line 1563, in index\r\n    request.session.db, request.session.uid, request.session.password, report_id)\r\n  File \"/home/ubuntu/Dropbox/openerp-8.0/odoo-8.0-20150322/openerp/http.py\", line 872, in proxy_method\r\n    result = dispatch_rpc(self.service_name, method, args)\r\n  File \"/home/ubuntu/Dropbox/openerp-8.0/odoo-8.0-20150322/openerp/http.py\", line 114, in dispatch_rpc\r\n    result = dispatch(method, params)\r\n  File \"/home/ubuntu/Dropbox/openerp-8.0/odoo-8.0-20150322/openerp/service/report.py\", line 34, in dispatch\r\n    res = fn(db, uid, *params)\r\n  File \"/home/ubuntu/Dropbox/openerp-8.0/odoo-8.0-20150322/openerp/service/report.py\", line 141, in exp_report_get\r\n    return _check_report(report_id)\r\n  File \"/home/ubuntu/Dropbox/openerp-8.0/odoo-8.0-20150322/openerp/service/report.py\", line 119, in _check_report\r\n    raise openerp.osv.orm.except_orm(exc.message, exc.traceback)\r\nexcept_orm: (u'There is no attribute nor key \"NFe\" in the object \"None\"', (<class 'geraldo.exceptions.AttributeNotFound'>, AttributeNotFound(u'There is no attribute nor key \"NFe\" in the object \"None\"',), <traceback object at 0x7f4646389e18>))\r\n"}}