New orders not showing up in the admin portal

Create issue
Issue #82 resolved
Chris Drew created an issue

This occurred after the unicode conversion.

After an order is completed, it is not showing up in the pending section of the admin interface. The problem is that the code to show pending orders has some unicode subtleties.

/satchmo/shop/views/ lines 14 and 15 need to be modified to explicitly force the conversion.

The force_unicode function described here -

should fix it.

django.utils.encoding.force_unicode(ORDER_STATUS[1][1]) Pending

Comments (1)

  1. Former user Account Deleted

    Fixed in [493].

    force_unicode just calls unicode() on the lazy translations, or anything with a unicode method.

  2. Log in to comment