diff --git a/htdocs/admin/fournisseur.php b/htdocs/admin/fournisseur.php
index 98f10481edc..b26b156cebf 100644
--- a/htdocs/admin/fournisseur.php
+++ b/htdocs/admin/fournisseur.php
@@ -261,6 +261,14 @@ if ($action == 'setmod')
dolibarr_set_const($db, "COMMANDE_SUPPLIER_ADDON",$value,'chaine',0,'',$conf->entity);
}
+if ($action == 'invoicesetmod')
+{
+ // TODO Verifier si module numerotation choisi peut etre active
+ // par appel methode canBeActivated
+
+ dolibarr_set_const($db, "INVOICE_SUPPLIER_ADDON",$value,'chaine',0,'',$conf->entity);
+}
+
if ($action == 'addcat')
{
$fourn = new Fournisseur($db);
@@ -604,7 +612,7 @@ foreach ($dirmodels as $reldir)
}
else
{
- print ''.img_picto($langs->trans("Disabled"),'switch_off').'';
+ print ''.img_picto($langs->trans("Disabled"),'switch_off').'';
}
print '';