Custumer user see INVOICE on portal error


I am trying to test the customer portal but when the user try to see it i got an error on screen with this:

Traceback (innermost last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 25, in render
    data = render_page_by_language(path)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 91, in render_page_by_language
    return render_page(path)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 113, in render_page
    return build(path)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 122, in build
    return build_method(path)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 138, in build_page
    context = get_context(path)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 31, in get_context
    context = build_context(context)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 94, in build_context = build_template(context)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 18, in build_template
    render_blocks(context["template"], out, context)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/website/", line 52, in render_blocks
    out[block] = concat(render(new_context))
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/./templates/pages/order.html", line 54, in block_content
    <div class="col-sm-2 col-xs-3 text-right">
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/", line 196, in call
    return __obj(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python2.7/encodings/", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
 UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-11: ordinal not in range(128)

The invoice is just an item, if i set the user as SystemUser, it can see the invoce on the Desk app.

But as a website user i got this error.

I can get more traces if need.

What should i do?


@sfrique which version of ERPNext are you using?


From website logged as Administrator i get this:

Installed Apps

ERPNext: v6.9.2

Frappe Framework: v6.8.2

You need anything else?