From 0c62942f03ae8ffdcf6c3177e48bdcc0193ca9c8 Mon Sep 17 00:00:00 2001
From: simnandez <jmenent@2byte.es>
Date: Tue, 28 May 2013 09:28:31 +0200
Subject: [PATCH] [ bug #914 ] It is not possible to validate a supplier
 invoice

---
 htdocs/fourn/facture/fiche.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index 8774c2b871c..dcf47f43303 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -1344,7 +1344,8 @@ else
                 if (! empty($conf->global->FAC_FORCE_DATE_VALIDATION))
                 {
                     $object->date=dol_now();
-                    $object->date_lim_reglement=$object->calculate_date_lim_reglement();
+                    //TODO: Possibly will have to control payment information into suppliers
+                    //$object->date_lim_reglement=$object->calculate_date_lim_reglement();
                 }
                 $numref = $object->getNextNumRef($soc);
             }
-- 
GitLab