Fix: default ref was DOLIBARR instead of SPECIMEN, so specimen generation did not work and crashed dolibarr

This commit is contained in:
Christophe Battarel 2014-02-26 15:57:43 +01:00
parent 473b0f73be
commit 66db46a693

View File

@ -1689,7 +1689,7 @@ class Contrat extends CommonObject
$this->id=0;
$this->specimen=1;
$this->ref = 'DOLIBARR';
$this->ref = 'SPECIMEN';
$this->socid = 1;
$this->statut= 0;
$this->date_contrat = dol_now();