diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index e8da753c2fe..dd4ff0b2740 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -1587,6 +1587,8 @@ class Form
}
}
print '';
+ print ajax_combobox('select_'.$htmlname);
+
return $qualifiedlines;
} else {
dol_print_error($this->db);
@@ -5633,6 +5635,7 @@ class Form
if ($filter) {
$newfilter .= ' AND ('.$filter.')';
}
+ // output the combo of discounts
$nbqualifiedlines = $this->select_remises($selected, $htmlname, $newfilter, $socid, $maxvalue);
if ($nbqualifiedlines > 0) {
print '