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:
commit
b21d1cd5b2
@ -1689,7 +1689,7 @@ class Contrat extends CommonObject
|
|||||||
$this->id=0;
|
$this->id=0;
|
||||||
$this->specimen=1;
|
$this->specimen=1;
|
||||||
|
|
||||||
$this->ref = 'DOLIBARR';
|
$this->ref = 'SPECIMEN';
|
||||||
$this->socid = 1;
|
$this->socid = 1;
|
||||||
$this->statut= 0;
|
$this->statut= 0;
|
||||||
$this->date_contrat = dol_now();
|
$this->date_contrat = dol_now();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user