Compare commits

...
Author SHA1 Message Date
Phin Wolkwitz 6dadfaab1f Add warnings for importing add-ons 2026-12-02 17:02:06 +01:00
3 changed files with 14 additions and 1 deletions

No files matched your search

+3 -1
View File
@@ -128,7 +128,9 @@ class ItemColumn(ImportColumn):
identifier = 'item'
verbose_name = gettext_lazy('Product')
default_value = None
help_text = gettext_lazy('The product can be specified by its internal ID, full name or internal name.')
help_text = gettext_lazy(
'The product can be specified by its internal ID, full name or internal name. '
'Importing add-on products is currently unsupported, they will be added as normal products instead.')
@cached_property
def items(self):
@@ -45,6 +45,11 @@
<div class="panel-body">
{% bootstrap_form_errors form %}
{% bootstrap_form form layout="horizontal" %}
<div class="alert alert-warning">
{% blocktrans trimmed %}
Importing add-on products is currently unsupported, they will be added as normal products instead.
{% endblocktrans %}
</div>
<div class="alert alert-warning">
{% blocktrans trimmed %}
The import will be performed regardless of your quotas, so it will be possible to overbook your event using this option.
@@ -31,6 +31,12 @@
</select>
</div>
<div class="clearfix"></div>
<div class="alert alert-warning">
{% blocktrans trimmed %}
Importing add-on products is currently unsupported, they will be added as normal products instead.
{% endblocktrans %}
<br>
</div>
<button class="btn btn-primary pull-right flip" type="submit">
<span class="icon icon-upload"></span> {% trans "Start import" %}
</button>