diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 518c31e38e0a2efd1a7db0194adbe11d9d875f79..9fa6f7c793859b83189ffd6e1b7e251a7268b905 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3655,7 +3655,7 @@ else if ($id > 0 || ! empty($ref)) } else { - print '<div class="inline-block divButAction"><a class="butAction" href="paiement.php?facid='.$object->id.'&action=create">'.$langs->trans('DoPaymentBack').'</a></div>'; + print '<div class="inline-block divButAction"><a class="butAction" href="paiement.php?facid='.$object->id.'&action=create&accountid='.$object->fk_account.'">'.$langs->trans('DoPaymentBack').'</a></div>'; } }