Are you using frappe-bench or Virtual Machine?
body{font-family:Helvetica,Arial;font-size:13px}body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding:1em;
margin:auto;
background:#fefefe;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}
h1 {
color: #000000;
font-size: 28pt;
}
h2 {
border-bottom: 1px solid #CCCCCC;
color: #000000;
font-size: 24px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
color: #777777;
background-color: inherit;
font-size: 14px;
}
hr {
height: 0.2em;
border: 0;
color: #CCCCCC;
background-color: #CCCCCC;
}
p, blockquote, ul, ol, dl, li, table, pre {
margin: 15px 0;
}
a, a:visited {
color: #4183C4;
background-color: inherit;
text-decoration: none;
}
#message {
border-radius: 6px;
border: 1px solid #ccc;
display:block;
width:100%;
height:60px;
margin:6px 0px;
}
button, #ws {
font-size: 12 pt;
padding: 4px 6px;
border-radius: 5px;
border: 1px solid #bbb;
background-color: #eee;
}
code, pre, #ws, #message {
font-family: Monaco;
font-size: 10pt;
border-radius: 3px;
background-color: #F8F8F8;
color: inherit;
}
code {
border: 1px solid #EAEAEA;
margin: 0 2px;
padding: 0 5px;
}
pre {
border: 1px solid #CCCCCC;
overflow: auto;
padding: 4px 8px;
}
pre > code {
border: 0;
margin: 0;
padding: 0;
}
#ws { background-color: #f8f8f8; }
table {
border-collapse: collapse;
font-family: Helvetica, arial, freesans, clean, sans-serif;
color: rgb(51, 51, 51);
font-size: 15px; line-height: 25px;
padding: 0; }
table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0; }
table tr:nth-child(2n) {
background-color: #f8f8f8; }
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }
table tr td {
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }
table tr th :first-child, table tr td :first-child {
margin-top: 0; }
table tr th :last-child, table tr td :last-child {
margin-bottom: 0; }
.send { color:#77bb77; }
.server { color:#7799bb; }
.error { color:#AA0000; }
On 16 May 2014 at 7:19:04 pm, Nehme Abouzeid (ne…@ontimepublishing.com) wrote:
Hi,
I have never done an update. Are there instructions you
can point me to?
Thanks.
On Thursday, May 15, 2014 4:35:18 PM UTC+3, Nabin Hait wrote:
Fixed. Please pull latest from
shopping-cart repository.
Hi,
I have added a client and created a new order.
Client logs on and can view orders in the My Orders
page.
However, when he tries to open an order the following error
message appears - Any ideas?
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-forum+un...@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.
--
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-forum+un...@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.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/etPan.53762900.74b0dc51.8ce%40apdmacbook.local.
For more options, visit https://groups.google.com/d/optout.