From b7247f3396ff19dc65b10cd45ba51cc890e4fc72 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Apr 2010 11:37:22 +0000 Subject: [PATCH] Complete initAsSpecimen --- htdocs/compta/facture/facture.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/compta/facture/facture.class.php b/htdocs/compta/facture/facture.class.php index ec48285e9f5..1bdc1c73c3a 100644 --- a/htdocs/compta/facture/facture.class.php +++ b/htdocs/compta/facture/facture.class.php @@ -2775,7 +2775,9 @@ class Facture extends CommonObject $this->socid = $socids[$socid]; $this->date = time(); $this->date_lim_reglement=$this->date+3600*24*30; + $this->cond_reglement_id = 1; $this->cond_reglement_code = 'RECEP'; + $this->mode_reglement_id = 7; $this->mode_reglement_code = 'CHQ'; $this->note_public='SPECIMEN'; $nbp = 5;