Traceback (innermost last):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/render.py", line 20, in render
data = render_page(path)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/render.py", line 59, in render_page
return build(path)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/render.py", line 68, in build
return build_method(path)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/render.py", line 81, in build_page
context = get_context(path)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/context.py", line 35, in get_context
context = build_context(context)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/context.py", line 67, in build_context
context.data = render_blocks(context)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/template.py", line 30, in render_blocks
_render_blocks(context["template_path"])
File "/home/erpnext/frappe-bench/apps/frappe/frappe/website/template.py", line 28, in _render_blocks
out[block] = scrub_relative_urls(concat(render(template.new_context(context))))
File "/home/erpnext/frappe-bench/apps/shopping_cart/shopping_cart/./templates/pages/order.html", line 22, in block_content
File "/home/erpnext/frappe-bench/apps/shopping_cart/shopping_cart/./templates/includes/sale.html", line 14, in root
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/environment.py", line 397, in getattr
return getattr(obj, attribute)
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/runtime.py", line 491, in __getattr__
return self._fail_with_undefined_error()
File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/runtime.py", line 485, in _fail_with_undefined_error
raise self._undefined_exception(hint)
UndefinedError: 'erpnext.selling.doctype.sales_order.sales_order.SalesOrder object' has no attribute 'doc'
--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/50c83015-5f70-489f-91b7-bac99f1077bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Are you using frappe-bench or Virtual Machine?
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/301715b8-afff-4cf0-8346-e04d78502356%40googlegroups.com.
To view this discussion on the web visithttps://groups.google.com/d/msgid/erpnext-developer-forum/301715b8-afff-4cf0-8346-e04d78502356%40googlegroups.com.