trscheidig

Untitled

Jul 14th, 2016
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2. File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch
  3. response['result'] = dispatch_method(method, params)
  4. File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch
  5. res = dispatch(*args)
  6. File "/trytond/protocols/dispatcher.py", line 162, in dispatch
  7. result = rpc.result(meth(*c_args, **c_kwargs))
  8. File "/trytond/report/report.py", line 143, in execute
  9. cls.render(action_report, report_context))
  10. File "/trytond/report/report.py", line 227, in render
  11. data = rel_report(**report_context).render()
  12. File "/relatorio/templates/base.py", line 34, in render
  13. return self.serializer(self.events)
  14. File "/relatorio/templates/opendocument.py", line 884, in __call__
  15. for kind, data, pos in stream:
  16. File "/site-packages/genshi/core.py", line 289, in _ensure
  17. for event in stream:
  18. File "/site-packages/genshi/filters/i18n.py", line 690, in __call__
  19. for kind, data, pos in stream:
  20. File "/site-packages/genshi/template/base.py", line 618, in _include
  21. for event in stream:
  22. File "/site-packages/genshi/template/markup.py", line 326, in _match
  23. for event in stream:
  24. File "/site-packages/genshi/template/base.py", line 578, in _flatten
  25. result = _eval_expr(data, ctxt, vars)
  26. File "/site-packages/genshi/template/base.py", line 289, in _eval_expr
  27. retval = expr.evaluate(ctxt)
  28. File "/site-packages/genshi/template/eval.py", line 177, in evaluate
  29. return eval(self.code, _globals, {'__data__': data})
  30. File "<string>", line 1, in <Expression u'line.codenomenclador'>
  31. File "/site-packages/genshi/template/eval.py", line 317, in lookup_attr
  32. val = getattr(obj, key)
  33. File "/trytond/model/modelstorage.py", line 1340, in __getattr__
  34. read_data = self.read(list(ids), ffields.keys())
  35. File "/trytond/model/modelsql.py", line 741, in read
  36. getter_results = field.get(ids, cls, field_list, values=result)
  37. File "/trytond/model/fields/function.py", line 92, in get
  38. return dict((name, call(name)) for name in names)
  39. File "/trytond/model/fields/function.py", line 92, in <genexpr>
  40. return dict((name, call(name)) for name in names)
  41. File "/trytond/model/fields/function.py", line 86, in call
  42. return dict((r.id, method(r, name)) for r in records)
  43. File "/trytond/model/fields/function.py", line 86, in <genexpr>
  44. return dict((r.id, method(r, name)) for r in records)
  45. File "/trytond/modules/health_practicas/health_practicas.py", line 173, in get_nomenclador
  46. if (self.product.product):
  47. File "/trytond/modules/product/product.py", line 177, in __getattr__
  48. return getattr(self.template, name)
  49. File "/trytond/model/modelstorage.py", line 1206, in __getattr__
  50. raise AttributeError('"%s" has no attribute "%s"' % (self, name))
  51. AttributeError: "product.template,10" has no attribute "product"
RAW Paste Data