Refs #74 -- Hide retry button if the ticket is sold out

This commit is contained in:
Raphael Michel
2015-06-25 19:25:55 +02:00
parent f04c43abdc
commit ae5eab628c
3 changed files with 6 additions and 3 deletions

View File

@@ -1618,7 +1618,7 @@ class Order(Versionable):
error_messages = {
'unavailable': _('Some of the ordered products were no longer available.'),
'busy': _('We were not able to process the request completely as the '
'server was too busy. Please try again.'),
'server was too busy.'),
}
positions = list(self.positions.all().select_related(
'item', 'variation'