Merge pull request #1439 from altairis-fr/develop

Fix: default ref was DOLIBARR instead of SPECIMEN, so specimen generation did not work and crashed dolibarr
This commit is contained in:
Laurent Destailleur 2014-02-27 11:09:35 +01:00
commit b21d1cd5b2

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();