diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index a952b9565d766..2586f80790d82 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -482,7 +482,7 @@
print $langs->trans("CustomerAbsoluteDiscountShort");
print '
| ';
if ($user->hasRight('societe', 'creer') && !$user->socid > 0) {
- print 'id).'&action=create&token='.newToken().'">'.img_edit($langs->trans("Modify")).'';
+ print 'id).'&action=create_remise&token='.newToken().'">'.img_edit($langs->trans("Modify")).'';
}
print ' | ';
print '';
diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php
index 12888f2f24e7f..4f6fae9823ad0 100644
--- a/htdocs/comm/remx.php
+++ b/htdocs/comm/remx.php
@@ -378,7 +378,7 @@
// VAT
print ''.$langs->trans("VAT").' | ';
print '';
- print $form->load_tva('tva_tx', GETPOSTISSET('tva_tx') ? GETPOST('tva_tx', 'alpha') : 0, $mysoc, $object, 0, 0, '', 0, 1);
+ print $form->load_tva('tva_tx', (GETPOSTISSET('tva_tx') ? GETPOST('tva_tx', 'alpha') : getDolGlobalString('MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS', 0)), $mysoc, $object, 0, 0, '', 0, 1);
print ' |
';
print ''.$langs->trans("NoteReason").' | ';
print ' |
';