Fix wrong warning message

This commit is contained in:
Raphael Michel
2019-01-25 13:13:45 +01:00
parent 16622883f6
commit 6e556ab09b

View File

@@ -36,7 +36,7 @@
item to an existing or newly created quota.
{% endblocktrans %}
</div>
{% elif not object.is_available_by_time %}
{% elif object.pk and not object.is_available_by_time %}
<div class="alert alert-warning">
{% blocktrans trimmed %}
This product is currently not being sold since you configured below that it should only be available in a certain timeframe.